Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI for java EQ2 fatal error

Former Member
0 Kudos

Hello,

My configuration:

OS : Linux ubuntu

Java : jre1.5.0-04

Sapgui : 640rev2

When I try to make a connection with guilogon I've a fatal error:

EQ2 : Fatal error

Cannot load shared library 'JPlatin' or some dependent library java.lang. UnsatisfiedLinkError: no JPlatin in java.library.path

JniAgilibAdaptor. <init>:Cannot load JNI library

Is this a problem with environnement variables/paths ?

What must I do ?

Regards

Philippe

  • SAP Managed Tags:
5 REPLIES 5

Former Member
0 Kudos

First you need to check if java points to Sun jre or to the java which ships with Ubuntu.

In terminal type: java -version

If you don't get Sun JRE 1.5... etc. It means that your symlink in /usr/bin is probably pointing to the wrong java version.

Sorry, but I can not check the exact settings since I'm curently working on a windows machine (linux laptop left at home ).

  • SAP Managed Tags:

Former Member
0 Kudos

First, actual version of SAPGUI for java is 6.40r4 and SAP recommends only jre1.42

Call the script guilogon with debugging, you should receive something like this:

[code]

matthias@tyche:~$ ./SAPClients/SAPGUI6.40rev4/bin/guilogon

guilogon -checkscript output:

Before processing:

PLATINHOME =

PLATIN_JAVA =

uname = Linux

PATH = /home/matthias/.dist/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:.

After processing:

THISSCRIPTPATH = ./SAPClients/SAPGUI6.40rev4/bin/guilogon

PLATINHOME = /home/matthias/SAPClients/SAPGUI6.40rev4

PLATIN_JAVA = java

PLATIN_DEBUG =

JRE_ARGS = -Xms32M -Xmx128M

START_JARS = /home/matthias/SAPClients/SAPGUI6.40rev4/jar/GuiStartS.jar:/home/matthias/SAPClients/SAPGUI6.40rev4/jar/platincoreS.jar

STARTCLASS = com.sap.platin.Gui

RFC_TRACE =

Command to start:

java -Xms32M -Xmx128M -cp /home/matthias/SAPClients/SAPGUI6.40rev4/jar/GuiStartS.jar:/home/matthias/SAPClients/SAPGUI6.40rev4/jar/platincoreS.jar com.sap.platin.Gui

[/code]

  • SAP Managed Tags:

Former Member
0 Kudos

I'm aware that SAP recomends Java 1.4.2, however, since he mentioned he's using jre 1.5 I replied to what the output should be using that version. It happend to me that I recived that same message when I did 'sudo apt-get dist-upgrade' to breezy and all my symlinks were deleted. Currently I'm testing 640rev4 on latest Java (1.5) and latest breezy so you could say that this is realy experimental

Howewer, I find it extremly stable so far, somethimes there are little quirks, like search not working on certain fields where win version functions properly, but beside that, everything else is fine.

  • SAP Managed Tags:

0 Kudos

I have problems with ALV-Grid and sums. Even in standard transaction like mb51, I get a short dump if i want to change the current layout or build sums in the grid.

Matthias

  • SAP Managed Tags:

0 Kudos

Never had a problem with that, of course, I'm working mostly with FI transactions. However, I've just tried MB51 transaction and got a standard list. How do you switch to ALV view in MB51 (I've looked through the menus but couldn't find it!)? I'm probably missing something obvious Anyway, let me know how to switch to ALV in MB51 so I can test it to see if everything is working fine here.

Elvis

P.S. I've found it and can confirm that everything is working OK! If it's any of any help I'm running latest brezzy development release, and this is how my SAPGui reads:

SAPGUI for Java 6.40 rev 4

(Version ID 064000040400)

Build: Thu Sep 1 02:10:41 MEST 2005 on uw1059

Java VM: Sun Microsystems Inc. Version 1.5.0_04-b05

OS: Linux(i386) Version 2.6.12-9-686

Message was edited by: Elvis Slavic

  • SAP Managed Tags: