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

installing java on Linux Red Hat 6

Former Member
0 Likes
775

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
Former Member
0 Likes

Hi,

If you have active subscription, try installing using yum.

# yum install libXp compat-libstdc++
then
# yum install IBMJava2-AMD64-142-JRE-1.4.2-13

Regards.

Rajesh Narkhede.

Former Member
0 Likes

Thanks for the answer, but i have not got an active subscription. Promise for a month. And I can not wait. In order not to lose time, I want to practice on a test system.