cancel
Showing results for 
Search instead for 
Did you mean: 

solaris java sapgui error JniAgiLibAdaptor.<init>: Cannot load JNI library

Former Member
0 Kudos

i have a problem java sapgui.

Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.

i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.

gui version;

SAPGUI for Java 7.10 rev 8 (java),

no library (lib)

(Version ID 071000040800)

Mon Mar 30 10:34:24 MEST 2009

uw1059, 710_REL, 1054563

Java VM: Sun Microsystems Inc. Version 1.6.0_14

OS: SunOS(x86) Version 5.10

The version of Java being used is:

  1. java -version

java version "1.5.0_16"

Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)

Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)

Thank You,

Ferhan

-


JniAgiLibAdaptor.<init>: Cannot load JNI library

-


details;

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

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

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

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

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

at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)

at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)

at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at: java.awt.Component.processMouseEvent(Unknown Source)

at: javax.swing.JComponent.processMouseEvent(Unknown Source)

at: java.awt.Component.processEvent(Unknown Source)

at: java.awt.Container.processEvent(Unknown Source)

at: java.awt.Component.dispatchEventImpl(Unknown Source)

at: java.awt.Container.dispatchEventImpl(Unknown Source)

at: java.awt.Component.dispatchEvent(Unknown Source)

at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at: java.awt.LightweightDispatcher.proc

-


Attempt to load shared library

/opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so failed.

The library file exists, so either the program has

insufficient privileges to access the library or the library

is not loadable by the shared object loader.

Please recheck the system requirements for your operating

system and make sure all required libraries are installed.

-


details;

ava.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)

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

at: java.lang.ClassLoader.loadLibrary0(Unknown Source)

at: java.lang.ClassLoader.loadLibrary(Unknown Source)

at: java.lang.Runtime.load0(Unknown Source)

at: java.lang.System.load(Unknown Source)

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

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

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

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

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

at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)

at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)

at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at: javax.swing.plaf.basic.BasicB

Accepted Solutions (1)

Accepted Solutions (1)

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Ferhan,

the output of the AboutBox is indicating that you are trying to run SAP GUI for Java on Solaris 10 with x86 CPU. Unfortunately, the library required to be loaded is complied for SPARC. Please have a look at the system requirements part of the manual coming with the installer of SAP GUI for Java or [note 959236|https://service.sap.com/sap/support/notes/959236].

Best regards

Rolf-Martin

Former Member
0 Kudos

thanks. i think that i have a hardware problem.

Answers (0)