How to extract sample files

The following procedure shows one way to extract the sample files before you run the Java™ appletviewer tool. The procedure assumes you want to extract the sample files into your home directory.

  1. Enter the Start Qshell (QSH) command on the command line.
  2. If it does not already exist, create a home level integrated file system (IFS) directory for your user ID:
    mkdir /home/MyUserID
  3. Create a demo directory within the IFS directory:
    mkdir /home/MyUserID/demo
  4. Change directories to the demo directory:
    cd /home/myUserId/demo
  5. For JDK 1.3, enter the following on the command line to extract the demo files:
    jar xf /QIBM/ProdData/Java400/jdk13/demo.zip
    For JDK 1.4, use this command:
    jar xf /QIBM/ProdData/Java400/jdk14/demo.jar
    Start of changeFor JDK 1.5, use this command:
    jar xf /QIBM/ProdData/Java400/jdk15/demo.jar
    End of change