Hello there guys,
I saw someone with a problem similar to my own here in sdn, but that didn't help (I think he was missing some glibc++ stuff, but I guess have installed everything about that, just to be sure... 😊
I'm on Mandriva 10.1 trying to use SapGui4java.
Java Environment is Sun 1.4.2_09
Well, guilogon is starting up properly and it lets me configure it.
But as soon as I try to estabilish a connection to an SAP appserver (with guistart as well) I get this bad message I can't find a solution for:
[code]
ERROR #############################
01.11. 18:04:48.844 ERROR: Cannot load shared library 'JPlatin' or some dependent library: java.lang.UnsatisfiedLinkError: no JPlatin in java.library.path
ERROR #############################
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:317)
at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:1204)
at com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:658)
at com.sap.platin.base.logon.GuiLogonFrame$SymAction.actionPerformed(GuiLogonFrame.java:402)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
ERROR #############################
01.11. 18:04:53.191 ERROR: GuiConnection: Connect failed
JniAgiLibAdaptor.<init>: Cannot load JNI library
ERROR #############################
ERROR #############################
01.11. 18:05:52.343 ERROR: Java GUI native library is unavailable: java.lang.reflect.InvocationTargetException
ERROR ############################[/code]
Can anybody help? I don't know what to do...
I tried almost everything I could figure out..
Thanx
Alex