on ‎2011 Sep 20 7:39 AM
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
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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-13Regards.
Rajesh Narkhede.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.