m-Power Documentation
![]() |
Upgrading to JDK 1.6 for the AS400
To determine what level(s) of JDK you have installed on your system, please enter GO LICPGM from a command line and take option 10. Scroll through the list until you see an entry labled Java Developer Kit 6. If you do not see this, please obtain this from IBM.

To begin, download JDK 1.6 from IBM. If you have Java Developer Kit 6 listed already, please skip this step. (Please contact IBM for assistance with this step as numerous OS releases make IBM an excellent resource for installation of the JDK 1.6).
Once you have verified (via GO LICPGM) that JDK 1.6 has been installed, type WRKLNK from a command line. Navigate to the /m-power folder. Edit the start_tomcat400.sh file.
Make the following 3 changes:
-
Modify the following line:
jdk14=/QIBM/ProdData/Java400/jdk14
to
jdk6=/QIBM/ProdData/Java400/jdk6
-
Change the following lines:
if cd $jdk14 then jv=4 to if cd $jdk6 then jv=6
-
Change jdk=/QIBM/ProdData/Java400/jdk1$jv
to
jdk=/QIBM/ProdData/Java400/jdk$jv
Save the file.
Stop & Restart Tomcat.
Congratulations! You have successfully loaded JDK 1.6 onto your System i & have configured your pre-existing version of Tomcat to utilize JDK 1.6.
Upgrading to JDK 1.6 for Linux
The following steps assume you have installed JDK 1.5 via these instructions.
Download & Install JDK 1.6 from Sun for your Operating System.
Lastly, modify the export_JAVA_HOME variable within the etc/profile file to point to your new JDK instance.
Stop & Restart Tomcat to allow the changes to go into effect.
Note: Be sure to upgrade your production instance, if applicable, to JDK 1.6 as well.































































































