The Wayback Machine - https://web.archive.org/web/20111229165618/http://www.ibm.com:80/developerworks/java/jdk/aix/faqs.html
Skip to main content

If you don't have an IBM ID and password, register here.

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. This profile includes the first name, last name, and display name you identified when you registered with developerWorks. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

What's new?

Dec 2011 Java 6 32-bit AIX update released (IV11925) and SDK refreshed (SR10). See fix information
Dec 2011 Java 6 64-bit AIX update released (IV11926) and SDK refreshed (SR10). See fix information
Nov 2011 Java 5 32-bit AIX update released (IV10340) and SDK refreshed (SR13). See fix information
Nov 2011 Java 5 64-bit AIX update released (IV10370) and SDK refreshed (SR13). See fix information
Oct 2011 IBM WebSphere Real Time V3 for AIX on 32-bit POWER GA released. See AIX download and service information
Oct 2011 IBM WebSphere Real Time V3 for AIX on 64-bit POWER GA released. See AIX download and service information
Sep 2011 Java 7 32-bit AIX update released. See AIX download and service information
Sep 2011 Java 7 64-bit AIX update released. See AIX download and service information
Jul 2011 Java 1.4.2 SDK 32-bit update released (IV03667) and JRE refreshed (SR13FP10). See fix information
Jul 2011 Java 1.4.2 SDK 64-bit update released (IV03666) and JRE refreshed (SR13FP10). See fix information
May 2010 IBM WebSphere Real Time V2 for AIX on 32-bit POWER SR3 released. See AIX download and service information
May 2010 IBM WebSphere Real Time V2 for AIX on 64-bit POWER SR3 released. See AIX download and service information
Feb 2010 IBM Developer Kits support IBM POWER7 systems. See Support information

1. Which AIX levels are required for different Java releases?

To take advantage of recent AIX fixes, use the latest AIX Maintenance Level from Fix Central.

The minimum AIX level supported for each Java release is:

AIX 5.1 reached end of service in April 2006. AIX 5.2 reached end of service in April 2009.

2. What do I download?

For each release you can download the Developer Kit (JDK or SDK) or the Runtime Environment (JRE):

All installp images have Version, Release, Modification, and Fix (VRMF) numbers associated with them. Run the command lslpp -l | grep Java on your system to see which Java filesets are installed and what their VRMF numbers are.

SDK 1.4.x installp images: All SDK 1.4.x installp images (VRMF numbers 1.4.0.*, 1.4.1.*, and 1.4.2.*) install into the same directories, because 1.4.1 and 1.4.2 are maintenance levels for Java 1.4. The directories are /usr/java14 for 32-bit code and /usr/java14_64 for 64-bit code. If you want to install Java 1.4, you must install the 1.4.0 base image, followed by the latest 1.4.1 base images, and finally the latest 1.4.2 base images. You can then update your installation with any relevant Update images.

You can obtain the Base images and the Update images from the release download page; AIX Download and service information.

3. How do I extract tar or tar.gz files?

Base images are compressed as tar or tar.gz files and must be extracted before they are installed.

If you have the gunzip utility, download the tar.gz file and run the command gunzip -c packagename.tar.gz | tar -xvf.

For example: gunzip -c Java14.sdk.tar.gz | tar -xvf.

To extract the tar file, run the command tar -xvf packagename.tar.
For example: tar -xvf Java14.sdk.tar.

4. How do I install the JDK/SDK base and update images?

Base and Update images are in AIX .bff file format, which are ready to be installed. Remove any previous .toc files that exist in the directory containing the .bff images.

Use the smitty command to install the Base and Update images.


		Run "smitty install"
		Select "Install and Update Software"
		Select "Install Software"
		Specify directory containing the images
		...

5. Can different Java releases coexist on a system?

Yes, different Java releases can coexist on a system.

6. What are the installation directories?

The installation directories are:

7. Which versions of Java do I have installed?

For Java 7, 6, 5.0 and 1.4.2, use the java -fullversion command to see information about your Java installation.

For WebSphere Real Time V2 for AIX, this command is java -Xgc:metronome -fullversion.

The system output is similar to

J2RE 1.4.1 IBM AIX build ca141-20030522

The build date for the code is shown in the format YYYYMMDD.

Run the command from the INSTALL_DIR/jre/bin directory, where INSTALL_DIR is the installation directory. See What are the install directories?

Java 1.3.x: The command /usr/java130/jre/bin/java -fullversion can show 1.3.1, because the support for 1.3.0 ended on 12/31/2002. All 1.3.0 PTFs shipped after that date use 1.3.1 code.

Java 1.1.8: Installp installation for 1.1.8 creates symbolic links in the /usr/bin directory for commands such as java and javac. However, symbolic links are not created when later Java releases are installed, which can result in the command java -fullversion returning the value 1.1.8 when the PATH is not set for the later release.

8. Which paths do I need to set to use a specific Java release on my system?

Java version Path
Java 7 64-bit PATH=/usr/java7_64/jre/bin:/usr/java7_64/bin:$PATH
Java 7 32-bit PATH=/usr/java7/jre/bin:/usr/java7/bin:$PATH
Java 6 64-bit PATH=/usr/java6_64/jre/bin:/usr/java6_64/bin:$PATH
Java 6 32-bit PATH=/usr/java6/jre/bin:/usr/java6/bin:$PATH
Java 5 64-bit PATH=/usr/java5_64/jre/bin:/usr/java5_64/bin:$PATH
Java 5 32-bit PATH=/usr/java5/jre/bin:/usr/java5/bin:$PATH
Java 1.4 PATH=/usr/java14/jre/bin:/usr/java14/bin:$PATH
Java 1.4 64-bit PATH=/usr/java14_64/jre/bin:/usr/java14_64/bin:$PATH
Java 1.3.1 PATH=/usr/java131/jre/bin:/usr/java131/bin:$PATH
Java 1.3.1 64-bit PATH=/usr/java13_64/jre/bin:/usr/java13_64/bin:$PATH
WebSphere Real Time V3 for AIX on 32-bit POWER PATH=/usr/javawrt3/jre/bin:/usr/javawrt3/bin:$PATH
WebSphere Real Time V3 for AIX on 64-bit POWER PATH=/usr/javawrt3_64/jre/bin:/usr/javawrt3_64/bin:$PATH
WebSphere Real Time V2 for AIX on 32-bit POWER PATH=/usr/java-ppc32-60-srt/jre/bin:/usr/java-ppc32-60-srt/bin:$PATH
WebSphere Real Time V2 for AIX on 64-bit POWER PATH=/usr/java-ppc64-60-srt/jre/bin:/usr/java-ppc64-60-srt/bin:$PATH

9. How do I know if an image file has been downloaded successfully?

If you cannot extract from a tar or tar.gz image file, the file might have been corrupted. The download pages for the JDK and SDK base images tell you the number of bytes for all tar and tar.gz files. If the size of the file you downloaded is different, try downloading again.

The "smitty install" utility cannot process a damaged file. Download and extract the file again.

10. How do I get support information on Java for AIX?

See http://www-03.ibm.com/systems/p/support/index.html.

If you are a customer in the U.S.A. and have an AIX Support Line contract, you can call 1-800-CALL-AIX for support.

11. Are there any forums for Java on AIX?

Morty Proxy This is a proxified and sanitized view of the page, visit original site.