cancel
Showing results for 
Search instead for 
Did you mean: 

regarding java installation

former_member214873
Participant
0 Kudos

iam uanble to install the IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm

i copied the IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm file into opt folder.

when i executed root@fire opt> rpm -i IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm

Error i getting is:

libXp.so.6 is needed by IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm

sytem environment is:

operating system : Redhat enterprise edition 5.0

processor : AMD processor 64-bit

swap:20000 gb

volume group: 22000 gb

i have refered the sapnotes Note 1048303, 1058757, 722273, 1172419

and also i applied the some .rpm files with software installer

libXp-debuginfo-1.0.0-8.x86_641.rpm

XFree86-libs-data-4.3.0-98.EL.x86_64.rpm

libXp-1.0.0-8.1.el5.x86_64.rpm

please tell the urls for downloading libXp.so.6.rpm files for Redhat enterprise server 5.0

regards

sudheer koppala

Accepted Solutions (1)

Accepted Solutions (1)

hannes_kuehnemund
Active Contributor
0 Kudos

maybe there is no link to libXp.so.6

check the following command


find /usr/lib* -name "*libXp*"

maybe you do not have the file with the correct name ...

former_member214873
Participant
0 Kudos

[root@fire opt]# rpm -e IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm

Error: package IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm is not installed

[root@fire opt]# rpm -i IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm

error: Failed dependencies:

libXp.so.6 is needed by IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64

[root@fire opt]# find /usr/lib -name "libxp"

/usr/lib/firefox-1.5.0.12/libxpistub.so

/usr/lib/firefox-1.5.0.12/libxpcom.so

/usr/lib/firefox-1.5.0.12/components/libxpconnect.so

/usr/lib/firefox-1.5.0.12/components/libxpcom_compat_c.so

/usr/lib/firefox-1.5.0.12/components/libxpinstall.so

/usr/lib/firefox-1.5.0.12/libxpcom_compat.so

/usr/lib/firefox-1.5.0.12/libxpcom_core.so

You have new mail in /var/spool/mail/root

[root@fire opt]# find /usr/lib64 -name "libxp"

/usr/lib64/esc-1.0.0/xulrunner/libxpcom.so

/usr/lib64/firefox-1.5.0.12/libxpistub.so

/usr/lib64/firefox-1.5.0.12/libxpcom.so

/usr/lib64/firefox-1.5.0.12/components/libxpconnect.so

/usr/lib64/firefox-1.5.0.12/components/libxpcom_compat_c.so

/usr/lib64/firefox-1.5.0.12/components/libxpinstall.so

/usr/lib64/firefox-1.5.0.12/libxpcom_compat.so

/usr/lib64/firefox-1.5.0.12/libxpcom_core.so

[root@fire opt]#

when search the files and folders in file system

i have founded the three file names like libXp.so.6:

1.libXp.so.6 in /usr/lib64 with a type of link to shared library

2.libXp.so.6.2.0 in /usr/lib64 with a type of shared library

3.libXp.so.6.2.0.debug in /usr/lib64 with a type of shared library

please tell the required rpm files for this

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Sudheer,

please be aware, that you executed the wrong command. Linux is like Unix: CASE sensitive ...

so your call:


find /usr/lib -name "libxp"

differs from the one you should do:


find /usr/lib -name "libXp"

If I remember correctly, the IBM JDK does have a dependency to the 32-bit libXp, so install the 32bit package of libXp and then it should work.

former_member214873
Participant
0 Kudos

[root@fire lib]# find /usr/lib* -name "libxp"

/usr/lib/firefox-1.5.0.12/libxpistub.so

/usr/lib/firefox-1.5.0.12/libxpcom.so

/usr/lib/firefox-1.5.0.12/components/libxpconnect.so

/usr/lib/firefox-1.5.0.12/components/libxpcom_compat_c.so

/usr/lib/firefox-1.5.0.12/components/libxpinstall.so

/usr/lib/firefox-1.5.0.12/libxpcom_compat.so

/usr/lib/firefox-1.5.0.12/libxpcom_core.so

/usr/lib64/esc-1.0.0/xulrunner/libxpcom.so

/usr/lib64/firefox-1.5.0.12/libxpistub.so

/usr/lib64/firefox-1.5.0.12/libxpcom.so

/usr/lib64/firefox-1.5.0.12/components/libxpconnect.so

/usr/lib64/firefox-1.5.0.12/components/libxpcom_compat_c.so

/usr/lib64/firefox-1.5.0.12/components/libxpinstall.so

/usr/lib64/firefox-1.5.0.12/libxpcom_compat.so

/usr/lib64/firefox-1.5.0.12/libxpcom_core.so

former_member214873
Participant
0 Kudos

please tell rpm files of libXp.so.6 for IBM java2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm in redhat linux enterprise edition 5.

regards

SUDHEER

hannes_kuehnemund
Active Contributor
0 Kudos

Dear sudheer,

i'm quite lost, I ask you to look for

libXp,

you then look for

libxp

I ask you again to look for

libXp

and again, you look for

libxp

.... I'm quite out of the mood right now ...

But anyway, let's give it a last shot.

You can solve your problem with installing the libXp-32bit.

Thanks,

Hannes

Answers (4)

Answers (4)

Former Member
0 Kudos

thank you, Chunrong xiao!

I was facing same problem. The problem got sloved by using your solution.

Kind rgds,

vm

Former Member
0 Kudos

You can refer to the following steps to resolve:

1. Unistall LibXp...X86_64 in your current system

rpm u2013e libXp-1.0.0-8.1.el5.

2. Install libXp-1.0.0-8.1.el5.i386.rpm

You can find this RPM file in RHEL5 Installation CD

3.After above step finished, You can install IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm succeed

Former Member
0 Kudos

Hello experts,

I was facing similar dependency issue while installing IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm package which got resolved on installing libXp-1.0.0-8.1.el5.i386.rpm dependency package.

Further to this I could install SAP Solution Manager 7.0 EhP1 successfully.

But when I tried to open visual admin for the very first time, it gives me following error:

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20090310 (JIT enabled)

J9VM - 20090309_31291_LHdSMr

JIT - 20090210_1447ifx1_r8

GC - 200902_24)

Exception in thread "main" java.lang.UnsatisfiedLinkError: awt (libXp.so.6: cannot open shared object file: No such file or directory)

at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:980)

at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:944)

at java.lang.System.loadLibrary(System.java:409)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:76)

at java.security.AccessController.doPrivileged(AccessController.java:197)

at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:81)

at sun.awt.DebugHelper.<clinit>(DebugHelper.java:56)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

at java.awt.Component.<clinit>(Component.java:548)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)

at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)

My environment is Redhat Enterprise Linux 5.3 x86_64 and DB2 for LUW

Please help.

Thanks & Regards,

Kashyap Shah

SAP Technology Consultant

Former Member
0 Kudos

Sudheer:

My libXp dependency on RHEL 5(.2) was fulfilled by running: yum install libXp One of your posts suggests to me that you installed an rpm of libXp outside of the package manager. Maybe consider uninstalling that particular package and instead use the libXp provided by redhat.

Hope this helps,

Zach

markus_doehr2
Active Contributor
0 Kudos

Please read

Note 1048303 - Red Hat Enterprise Linux 5.x: Installation and upgrade

Markus