Skip to Content
author's profile photo
Former Member

SAPGUI for java EQ2 fatal error


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 ?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Sep 28, 2005 at 08:44 AM

    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 😔 ).

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 08:24 PM

    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:


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

    guilogon -checkscript output:

    Before processing:



    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


    JRE_ARGS = -Xms32M -Xmx128M

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



    Command to start:

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


    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 06:37 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.


      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