This file gives only installation instructions for the Developer Kit for Linux. For more information about the Developer Kit and its components, please see the IBM(R) zSeries Developer Kit for Linux(R), Java(TM) 2 Technology Edition, Version 1.2.2 README or the IBM(R) zSeries Runtime Environment for Linux(R), Java(TM) 2 Technology Edition, Version 1.2.2 README.
The Developer Kit for Linux has been tested with the following products:
X11R6 3.3.x, provided by XFree86 | Currently included in all of the supported products |
C Runtime Library (libc) version 2.1.3-176 or later | Currently included in all of the supported products
If you do not have the C Runtime Library (libc) version 2.1.3-176 or later, you must upgrade before using the Developer Kit for Linux. To determine the level of glibc on your system, type the following from within any shell: rpm -q libc |
Linux kernel 2.2.16 | Currently included in all of the supported products
If you have a version of the Linux operating system that does not have kernel 2.2.x, information on upgrading the kernel might be found at the following Web site: http://www.kernel.org/ |
The following Developer Kit for Linux® packages can be installed:
Each package is available in an installable RedHat Package Manager (RPM) package and in a compressed tape archive (TAR) package.
The file names of the packages are as follows:
Package | Installable RPM file name | Compressed TAR file name |
Developer Kit | IBMJava2-SDK-122-linux-390-beta-1.00.rpm - not currently available | IBMJava2-SDK-122-linux-390-beta-1.00.tgz |
To install an installable RPM package:
rpm -i filename.rpmwhere filename is the file name of the package.
Note: If you are installing on SuSE Linux 7.0, you must use the --nodeps option on the rpm command, as follows:
rpm -i --nodeps filename.rpmwhere filename is the file name of the package.
The package is installed, by default, in the /opt/usr/IBMJava2-122 directory. If you want to install it in a different directory, use the --prefix option on the rpm command, as follows:
rpm -i --prefix dirname filename.rpm
where dirname is the directory where you want to install the package.
If you use the --prefix option, the package is installed in the directory IBMJava2-122, which is created in the directory you specified.
For shareable installations change the file ownership to root with:
chown -R root:root IBMJava2-122
The IBMJava2-122/jre/bin tree contains the Java Virtual Machine. The Java compiler is contained in the IBMJava2-122/bin directory.
Add the IBMJava2-122/bin and IBMJava2-122/jre/bin paths to your PATH environment variable. For example
export PATH=/opt/IBMJava2-122/bin:/opt/IBMJava2-122/jre/bin:$PATHYou may also place these commands in your profile.
To install a compressed TAR package:
tar -zxvf filename.tgzwhere filename is the file name of the package.
The package is installed in the directory IBMJava2-122, which is created in the directory where you unpack the package.
chown -R root:root IBMJava2-122
Add the IBMJava2-122/bin and IBMJava2-122/jre/bin paths to your PATH environment variable. For example
export PATH=/opt/IBMJava2-122/bin:/opt/IBMJava2-122/jre/bin:$PATHYou may also place these commands in your profile.