Skip to main content

Install IBM Java8 on centos 7( problem - JRE libraries are missing or not compatible.... Exiting.... )

We have IBM CPU with centos7 as operating system. We need to install JAVA 8 provided by IBM, below are some steps which are used for this installation-

1. Download IBM JRE(ibm-java-ppc64-jre-8.0-3.12.bin) from IBM official site.
http://www.ibm.com/developerworks/java/jdk/java8/

 a.) Select your required JRE such as, we need Linux 64-bit IBM POWER, and click on download now, fill login details or guest user and download .bin file using download director or http. Http will be more convenient to download.

2. Change executable permissions to ibm-java-ppc64-jre-8.0-3.12.bin file.

3. Execute file using bash

 ./ibm-java-ppc64-sdk-8.0-3.12.bin

4. You will get installation window if everything gonna fine.

5. But if you got some error like -

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

Cause for problem is that LAX(install anywhere) unable to find correct JVM on your system. So, we have to provide correct correct java to LAX

6. To see full logs, run command - export LAX_DEBUG=true. After viewing logs its clear what was the error.

7. Finally, we have to provide correct java path to LAX_VM and below is the updated command which is used for installation, java path may be changed according to system. So, problem resolved.


./ibm-java-ppc64-sdk-8.0-3.12.bin LAX_VM /usr/java/jdk1.8.0_102/jre/bin/java

After running above command you will get installation window and by following simple steps task will be completed-




Successfully installed IBM java8 on Centos 7

Comments

Popular posts from this blog

Set Up an NFS Mount on CentOS 7

How To Set Up an NFS Mount on CentOS 7 Setup Master - SERVER: 192.168.0.81 Client: 192.168.0.119 Setting Up the NFS Server - 192.168.0.81 Step One—Download the Required Software 1 . yum install nfs-utils , rpcbind Subsequently, run several startup scripts for the NFS server: systemctl enable nfs-server.service systemctl start nfs-server.service systemctl start  rpcbind.service Step Two—Export the Shared Directory We need to export the directory: vi /etc/exports Add the following lines to the bottom of the file, sharing the directory with the client: /home/testdir   192.168.0.119(rw,sync,no_root_squash,no_subtree_check) These settings accomplish several tasks: rw: This option allows the client server to both read and write within the shared directory sync: Sync confirms requests to the shared directory only once the changes have been committed. no_subtree_check: This option prevents the subtree checking. When a shared directory is th