Installing IBM Toolbox for Java on your workstation

Before you install IBM® Toolbox for Java™, make sure to address the workstation requirements that pertain to your environment.

How you install IBM Toolbox for Java on your workstation depends on how you want to manage your installation:

This documentation explains how to copy the class files to your workstation. For more information about setting the CLASSPATH on your workstation, refer to the operating system documentation for your workstation or information available at the Sun Java Web site Link outside Information Center.

Note: Using the IBM Toolbox for Java classes in your application also requires that your system meets the requirements for i5/OS™.

The IBM Toolbox for Java class files are packaged in several jar files, consequently you need to copy one or more of these jar files to your workstation. For more information about which jar files are required for specific IBM Toolbox for Java functions, see Jar files.

Example: Copying jt400.jar

The following example assumes you want to copy jt400.jar, which contains the core IBM Toolbox for Java classes.

To manually copy the jar file, complete the following steps:

  1. Find the jt400.jar file in the following directory: /QIBM/ProdData/HTTP/Public/jt400/lib
  2. Copy jt400.jar from the server to your workstation. You can do this in a variety of ways:
    • Use iSeries Access for Windows® to map a network drive on your workstation to the server, then copy the file.
    • Use file transfer protocol (FTP) to send the file (in binary mode) to your workstation.
  3. Update the CLASSPATH environment variable of your workstation.
    • For example, if you are using Windows NT® and you copied jt400.jar to C:\jt400\lib, add the following string to the end of your CLASSPATH:
           ;C:\jt400\lib\jt400.jar

You also have the option of using the open source version of IBM Toolbox for Java, called JTOpen. For more information about JTOpen, see the IBM Toolbox for Java and JTOpen Web site Link outside Information Center.