cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

installing java on Linux Red Hat 6

Former Member
0 Likes
777

Hello!

I still train on a test system RHEL6 x86_64bit.

Please help with java.

I'm installing a package IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64.rpm and get the error:


[root@sapserver home]# rpm -ivh IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64.rpm
error: Failed dependencies:
        libstdc++.so.5 is needed by IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64
        libXp.so.6 is needed by IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64

I check the packages:


[root@sapserver Packages]# rpm -ivh libstdc++-4.4.5-6.el6.x86_64.rpm
warning: libstdc++-4.4.5-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
        package libstdc++-4.4.5-6.el6.x86_64 is already installed

[root@sapserver Packages]# rpm -ivh libXp-1.0.0-15.1.el6.x86_64.rpm
warning: libXp-1.0.0-15.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
        package libXp-1.0.0-15.1.el6.x86_64 is already installed

Still, Java requires these libraries:


[root@sapserver home]# rpm -ivh IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64.rpm
error: Failed dependencies:
        libstdc++.so.5 is needed by IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64
        libXp.so.6 is needed by IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64

But when I check the libraries command locate:


[root@sapserver home]# locate libstdc++.so.5
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7
[root@sapserver home]# locate libXp.so.6
/usr/lib64/libXp.so.6
/usr/lib64/libXp.so.6.2.0

please help me install java

View Entire Topic
0 Likes

Dmitry,

the 64-bit IBM Java SDK package curiously needs the libstdc++ and libXp libraries in 32-bit as well. Also, libstdc+5 is provided via compat-libstdc+ package and not the libstdc++ package. Please consider this as well.

Also, please note that Red Hat is providing the package as well. Using the Red Hat version, you also get support for JDK issues. When installing the IBM JDK stand alone, you need to buy JDK support from IBM. Please check SAP note [1172419|https://service.sap.com/sap/support/notes/1172419] for details.

Best, Hannes