IBM Support

IBM Java for AIX HowTo: Install IBM Java to a specific location

How To


Summary

IBM® Java™ is usually installed in /usr by using an installp package on AIX®. Sometimes, applications need the Java™ install to be present inside the application's installation directory or any other location. It is possible to install IBM Java™ to a chosen location by using the *.sdk.tsr.gz Java™ images available. The *.sdk.tar.gz packages for all supported Java™ versions and releases are available for download from Fix Central.

Objective

The steps to install Java™ in a specific location are:

1) Identify the Fix Central level for the specific Java™ version and release

2) Download the correct *.sdk.tar.gz package from Fix Central

3) Java™ installation by using the *.sdk.tar.gz package

4) Confirm the successful installation of Java™

Steps

1.  If you have the AIX® fileset level or Service Refresh level(SR FP) for a specific Java™ version and release that you want to install, determine the corresponding Fix Central level by cross referencing from the following web page:

http://www-01.ibm.com/support/docview.wss?uid=isg3T1022644

2. Download the *.sdk.tar.gz package for the specific Java™ version and release from Fix Central per the following steps:

--Go to Fix Central:
https://www.ibm.com/support/fixcentral/

--On the 'Find Product' tab, in ‘Product selector’ field enter ‘Runtimes for Java Technology’.

--In the 'Installed version' field, enter the Fix central level obtained in step 1 above for the Java™ version and release that you want.

--In the 'Platform' field, enter 'AIX® 64-bit, pSeries' or 'AIX® 32-bit, pSeries', depending on if you need 64-bit Java™ or 32-bit Java™. Hit 'Continue' button.
image-20250418150115-1


--On the next page, 'Identify Fixes', make sure the radio button 'Browse for fixes' is selected and hit 'Continue' button.

--On the next page, 'Select Fixes', make sure the 'Download method' is set to 'HTTPS'. If not, set it to 'HTTPS' using 'Change Download options'.
image-20250418150538-3


--Then, click the Java™ version and release that you need on the same 'Select Fixes' page.

--On the next page, 'Download files using HTTPS', you will see the different available packages for the selected Java™ version and release. For instance, I selected Java 8 SR8 FP40 and see the following packages:
image-20250418141533-2

--Download only the sdk.tar.gz package. For instance, in the above example of Java™ 8 SR8 FP40, the package would be:

3. To install Java™ to the chosen location by using these binary packages, do the following steps:

--Create the desired install directory, if not using an existing one. For example, run 'mkdir /tmp/Java8SR8FP40'.

--Copy the downloaded package over to the directory created.

# cd /tmp/Java8SR8FP40
# ls

pap6480sr8fp40-20250123_01-sdk.tar.gz

--To install the package, from the command line, simply unzip and untar the package:

# gunzip pap6480sr8fp40-20250123_01-sdk.tar.gz
# tar -xvf pap6480sr8fp40-20250123_01-sdk.tar

# ls -al

total 627752

drwxr-xr-x    3 root     system          256 Apr 18 14:47 .

drwxrwxrwt   23 bin      bin           12288 Apr 18 14:50 ..

-rw-r--r--    1 root     system    321392640 Apr 18 14:46 pap6480sr8fp40-20250123_01-sdk.tar

drwxr-x---    9 bin      bin            4096 Jan 23 06:52 sdk

The sdk directory has the Java install ready for use.


4. To verify and confirm that the Java™ installation is successful, execute the command:

# /tmp/Java8SR8FP40/sdk/jre/bin/java -version


Additional Information

SUPPORT:

If the instructions in this document do not lead to resolution of the problem, follow these instructions to open a case.  The product must be under warranty or have an active and valid support contract.

a.  Document or take screen captures of all symptoms, errors, or messages.

b.  Capture any logs or data relevant to the issue.

c.  Contact IBM to open a case.

   -For electronic support, visit the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, visit this web page:
      https://www.ibm.com/planetwide/

d.  Provide a detailed description of the issue and reference this technote.

e.  Upload all of the details and data to the case.

   -You can attach files to the case in the IBM Support Community, or
   -Upload data to IBM test case server analysis at this URL:

    http://www.ibm.com/support/docview.wss?uid=ibm10733581

f.  Click here to submit feedback for this document.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

More support for:
AIX

Software version:
All Versions

Operating system(s):
AIX

Document number:
6242694

Modified date:
18 April 2025

UID

ibm16242694

Manage My Notification Subscriptions