cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Can't load libJPlatin.so -(JNI Library)in SAP GUI for java 7.0 -AIX

Former Member
0 Kudos

Hi,

I am getting error in SAP GUI for java 7.0 -AIX

<b>Error: Can't load libJPlatin.so -(JNI Library)</b>

I ran command as

<b>./guistart /H/localhost/S/sapdbIND</b>

I gave 777 permission to corressponding library.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It's on AIX.

<b>I am getting error as below:</b>

^C# ./sapgui /H/punlparidm06 /S/sapdbIND

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

07.03. 12:48:37.619 ERROR: Attempt to load shared library /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so failed.

07.03. 12:48:37.619 ERROR: The library file exists, so either the program

07.03. 12:48:37.619 ERROR: don't has the privileges to access the library

07.03. 12:48:37.619 ERROR: or the library is not loadable by the shared object loader

07.03. 12:48:37.619 ERROR: Technical information:

07.03. 12:48:37.619 ERROR: Error location: GuiJniLoader.loadPlatinLibrary()

07.03. 12:48:37.619 ERROR: Error message : /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so: load ENOEXEC on shared library(s) /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so

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

java.lang.UnsatisfiedLinkError: /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so: load ENOEXEC on shared library(s) /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2144)

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

at java.lang.Runtime.load0(Runtime.java:773)

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

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

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:316)

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

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

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

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

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:1670)

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

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)

java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library

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

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

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

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

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

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

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

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:1670)

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

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)

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

07.03. 12:51:52.173 ERROR: GuiConnection: Connect failed

07.03. 12:51:52.173 ERROR: JniAgiLibAdaptor.<init>: Cannot load JNI library

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

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

this error message comes when using the 64bit version of JRE 1.4.2.

Please double check which JRE you are using, it must be 32bit, and in case you have to install a new one anyway, you can consider to choose the 32bit JRE 5.0.

(see also system requirements in manual)

Best regards

Rolf-Martin

P.S. there should not be a blank in the connection string before /S/ (but this is not the cause of the problem)

Former Member
0 Kudos

Hi,

Thanks a lot.

ya, I am using 64 bit JRE.

Is it required to install Solution Manager setup again , as I have used 64 bit JRE in that & I want SAP GUI for login to Solution manager.

Is there any other way that I'll not need to reinstall the Solution manager?

Can I login to Solution Manager on AIX using SAP GUI on windows?

Please Reply.

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I would expect that the two JVMs can coexist and you could run SAP GUI for Java on the 32bit JVM and Solution manager on the 64bit JVM.

However I do not understand your last question, sorry.

Best regards

Rolf-Martin

Former Member
0 Kudos

Thanks