AS/400 Toolbox for Java \
Setting up \ Copy files
toworkstation
Copying the class files to your workstation allows you to serve
the files from your workstation. You can use the
AS400ToolboxInstaller class or rely on existing mechanisms for
obtaining server updates on your workstation.
You can use either the jt400.zip file or the jt400.jar file on
your workstation. The following instructions use the jt400.zip
file, but these instructions also work for the jt400.jar file. To
copy the files from AS/400 to your workstation:
Decide what method you would like to use to copy files to your
workstation. You can either use the AS400ToolboxInstaller class or
manually copy either the zip file or the jar file.
- AS/400 Toolbox for Java information fully documents the
AS400ToolboxInstaller class. In AS/400 Toolbox for Java information
in the AS/400e Information Center, look under
quot;Tips for Programming" and then "Install and update." Or if you
are viewing this information through the Information Center, see Client installation and update classes
.
- Find the file named jt400.zip. It should reside in the
/QIBM/ProdData/HTTP/Public/jt400/lib directory. Copy
jt400.zip from the AS/400 to your workstation. You can do this in a
variety of ways. The easiest way is to use Client Access/400 to map
a network drive on your workstation to AS/400. Another method is to
use file transfer protocol (FTP) to send the file to your
workstation (ensure that you transfer the file in binary
mode).
- Update the CLASSPATH environment variable of your workstation
by adding the location where you put the program files. For
example, on a personal computer (PC) that is using the Windows 95
operating system, if jt400.zip resides in
C:\jt400\lib\jt400.zip, add
;C:\jt400\lib\jt400.zip to the CLASSPATH variable.