cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to bring up SAP GUI for Java Environment

Former Member
0 Kudos

New to linux, install SAP NetWeaver 2004s on RHEL 5.3 under Linux.

Install jdk v1.4.2 (java-1.4.2-ibm-1.4.2.10-1jpp.2.el4.x86_64.rpm, java-1.4.2-ibm-devel-1.4.2.10-1jpp.2.el4.x86_64.rpm) and execute java -jar PlatinGUI-Linux-700.jar without any problems.

However, when trying to bring up the SAP GUI for Java environment, I get the fatal error as belows:

Attempt to load the shared library /opt/SAPClients/SAPGUI7.00/bin/libjOlatin.so failed.

The library file exists, so either the program or the library don't has privileges to access the library

or the library is not loadable by the shared object loader.

/opt/SAPClients/SAPGUI7.00/bin

drwxr-xr-x 2 root root 4096 Apr 22 13:28 gmux

-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guilogon

-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guistart

-rwxr-xr-x 1 root root 5276 Apr 22 13:28 libGnomeConnect.so

-rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so

-rwxr-xr-x 1 root root 15456 Apr 22 13:28 libKde3Connect.so

-rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp

-rwxr-xr-x 1 root root 4050 Apr 22 13:28 sapgui

-rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp

Any ideas to the above

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Hi Him,

whats the output of


file `which java`
file /opt/SAPClients/SAPGUI7.00/bin/libjPlatin.so

I suppose that both don't fit to each other, but let's see

Thanks,

Hannes

brian_walker
Active Participant
0 Kudos

Have you tried:

ldd /opt/SAPClients/SAPGUI7.00/bin/libjPlatin.so

Do any of the dependent libraries show missing, like libstdc++.so.6 for example?

Brian

brian_walker
Active Participant
0 Kudos

Also, why use an older version of SAPGUI(7.00)? 7.10rev8 is the latest. Usually this version comes with a guilogon script to startup SAPGUI.

Brian

Former Member
0 Kudos

Hi Brian,

Where can I download the latest version (10 rev 8)of SAPGUI? Can you provide me some ideas?

Thanks.

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Him,

ftp://ftp.sap.com/pub/sapgui/java/

fetch it from there. But please note, the Linux version is only available for i386, so you would need a 32bit java as well .... and of course the 32-bit compatibility libs ...

Thanks,

Hannes

Former Member
0 Kudos

Hi Hannes,

When the guistart program is started, I get the following messages:

drwxr-xr-x 2 root root 4096 Apr 22 13:28 gmux

-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guilogon

-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guistart

-rwxr-xr-x 1 root root 5276 Apr 22 13:28 libGnomeConnect.so

-rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so

-rwxr-xr-x 1 root root 15456 Apr 22 13:28 libKde3Connect.so

-rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp

-rwxr-xr-x 1 root root 4050 Apr 22 13:28 sapgui

-rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp

[root@localhost bin]# ./guistart /H/n4shost/S/3201&expert=true

[1] 5428

[root@localhost bin]# ############################# ERROR #############################

22.04. 16:29:30.791 ERROR: Attempt to load shared library /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so failed.

The library file exists, so either the program

don't has the privileges to access the library

or the library is not loadable by the shared object loader

Technical information:

Error location: GuiJniLoader.loadPlatinLibrary()

Error message : /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)

                                                          1. ERROR #############################

java.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:958)

at java.lang.System.load(System.java:366)

at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:129)

at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)

at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)

at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:314)

at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850)

at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265)

at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:43)

at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380)

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

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

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

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

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

at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584)

at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662)

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

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

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

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

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

at com.sap.platin.Gui.main(Gui.java:65)

[root@localhost bin]#

Cheers.

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Him,

Again, please give the output of


file `which java`
file /opt/SAPClients/SAPGUI7.00/bin/libjPlatin.so

which will most likely show, that your java is 64bit and your JavaGUI is 32bit ...

Please try a 32bit JVM.

And don't forget to post the output of the two commands above ...

Thanks,

Hannes

Former Member
0 Kudos

Hi Hannes and Brian,

My problems are solved. As soon as the 32 bit version of Java 1.4.2 was installed. The SAP GUI for Java Environment is working. It is working like a charm.

Thanks for the help.

Regrads.

Him

Former Member
0 Kudos

Hello,

I am having the same problem, where can I get the java 32 bits?

My installation CD documentation reads this...

..."You can verify this requirement by running java -fullversion. The version and build information in the output text must read like j9xa64142... From this build information you can identify that you have a recent 64bit version of J9VM for AMD/EM64T Linux active.

" and my jave -version reads as per the text above here.

I am running SLES 10, SAP NetWeaver 2004s - TestDrive, SAPGUI 7.00.

Thanks in advance,

Carlos Gonzalez

Answers (0)