on 12-02-2009 12:39 PM
Hi,
m trying to run SAP JAVA GUI 7.10 and 7.20rc2 on WIndows 7 64 bit.
i have installed vcredist_x86.msi and vcredist_x64.msi , Java 6 runtime 64 bit and 32 bit.
After successfull installation i get no connection to my SAP Server, see Error message below,
Any ideas for a solution?
Ty
-
JniAgiLibAdaptor.<init>: Cannot load JNI library
Attempt to load shared library C:\Program Files\SAP
Clients\SAPGUI for Java 7.20rc2\bin\JPlatin.dll 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.
You are probably missing the required C++ Runtime. You can
find the runtime installer here:
C:\Program Files\SAP Clients\SAPGUI for Java
7.20rc2\bin\vcredist_x86.msi
java.lang.UnsatisfiedLinkError: C:\Program Files\SAP Clients\SAPGUI for Java 7.20rc2\bin\JPlatin.dll: Can't load IA 32-bit .dll on a AMD 64-bit platformat: 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:28)
at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:270)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:877)
at: com.sap.platin.base.logon.GuiLogon.doConnect(GuiLogon.java:338)
at: com.sap.platin.base.logon.GuiLogon$Handler.mouseClicked(GuiLogon.java:2468)
at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at: java.awt.AWTEventMulticaster.mouseClicked(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.processMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Window.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.EventQueue.dispatchEvent(Unknown Source)
at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Edited by: Pete Scrll on Dec 2, 2009 1:41 PM
Thank you , this solution worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pete,
thanks for the feedback.
Your case might actually be a common stumbling block. In addition to the information available as part of [note 1018530|https://service.sap.com/sap/support/notes/1018530], we are considering to add a check during installation in the future, which would recommend to set PLATIN_JAVA in case the current JRE would not be able to run SAP GUI for Java.
Best regards
Rolf-Martin
Hello Pete,
after launching SAP GUI for Java, please have a look for the Java VM used, which is displayed in the About box.
I am almost sure, that it is the 64-bit version.
You might need to set explicitly PLATIN_JAVA (see guilogon.bat) to the javaw.exe which is part of the 32-bit Java runtime.
Best regards
Rolf-Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.