Installing the Latest Java Version
To be able to install a new Java version, you must first create a new file system. For instructions on how to create one, please refer to the chapter Creating a File System.
IBM always delivers a version of Java with each new operating system release. This is usually not the latest version. According to the new IBM convention, the Java version is located under /global.
1. Download Java 31 & 64 bit on your desktop PC from the IBM support site.
2. Test with a file archiver (like 7zip) if the archive is undamaged. You can also use the jarsigner to check if the .jar package is damaged. This step is optional, but recommended.
3. Upload the downloaded files via ftp (FileZilla) from the desktop to the MOUNTPOINT.
Note:
Upload the files as binary for software and as ASCII for text files.
4. Use chmod 644 *.Z and chmod 644 *.txt to set the permissions for the uploaded files.
5. Use cd.. to go back to a top directory and this way unziping the files.
6. Execute the following command:
pax -ppx -rvzf directoryName FolderName/SDK8_64bit_SR6_FP64.PAX.Z
7. Check if the folder contains the JDK_INSTALL_OK file. If it does, the installation ran without errors.
8. To mount in /global, it must first be removed from the old MOUNTPOINT. To mount the new one use mode read.
9. The new MOUNTPOINT should be added to SYSM.PARMLIB.
You may find the following commands helpful:
java -version
Displays the Java version
df -k .
Shows more details about the Java version.
Note:
If a .txt file is transferred to mainframe with FileZilla, then open it with Wordpad and save it again to fix formatting errors.