Install JAVA on AIX Server

Downloaded ibm-java-sdk-8.0-5.30-ppc64-archive.bin from IBM Site and tried to install but failed . Later followed below steps for successful JAVA installation 
./ibm-java-sdk-8.0-5.30-ppc64-archive.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

JRE libraries are missing or not compatible....
Exiting….

Download from https://www.ibm.com/support/pages/java-sdk-aix .Download JRE,JDK ,any other files intended like samples etc.

On AIX server we can use below steps.

Untar the all packages on one location and run below command
install -agXYd . * 2>&1 | tee installp.log
lslpp -l |grep -i java8
./java -version from /usr/java*_64/bin location

After successful installation run lslpp -l |grep -i java8 command to get the installed features .Now java is installed on /user/java8_64 for java8 .  Download and copy unrestrictedpolicyfiles.zip files to /usr/java8_64/jre/lib/security/

These files are used to support stronger encryption algorithms like AES256 etc

https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=jcesdk

To obtain the JCE distribution file:
1.Browse to the Unrestricted SDK JCE policy files from https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=jcesdk 
2.Enter your IBM® ID and password.
3.If you do not have an IBM ID, follow the IBM registration instructions.
4.Click Sign in.
5.Select Files for Java 5.0 SR16, Java 6 SR13, Java 6 SR5 (J9 VM2.6), Java 7 SR4, Java 8 GA, and all later releases and click Continue.
6.Review your personal information and the license agreement.
Select the I agree check box and click I confirm to continue.
Click Download now.
7.Save the unrestrictedpolicyfiles.zip file to your system.
8.Once the policy files are copied to jre/lib/security/ then we are ready with JAVA .
local_policy.jar
US_export_policy.jar

Now we have complete java under /usr/java8_64 .run ./java -version to get full java version details.

We can tar /usr/java8_64 to another AIX machine and extract on any location and start using it without installation .

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *