Skip to Content
author's profile photo Former Member
Former Member

NW 6.40 Installation on linux: Start SAPGUI

Hi all,

I'm installing NW Testdrive webAS6.40 on Linux. The server installation and the installation of SAPGUI were fine, without errors.

Starting SAPGUI (with gui command as nw4adm-user) fails with error:

JAVA=/usr/lib/java/bin/java: Command not found

PH=/opt/sapgui/6.30rev4/jar: Command not found

SOI=/opt/staroffice7/program/classes: Command not found

JAVA: undefined variable

Before I started the WebAS with command: startsap nw4host.

Do I need to set these pathes somewhere in the system?

I'm not so familiar with linux.

Thanks for your help!


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 05:56 AM

    Hello Rolf-Martin,

    many thanks for your hint that SAPGUI for Java 6.40 is available.

    I installed it as discribed in the manual, started with the guilogon script and the window SAPGUI for Java opened.

    Unfortunately the mainwindow is empty and the configuration must be done. The content of platin.ini is:

    1. @INCLUDE = http://sapguiconfig/platin.ini

    @StreamlineDefault = Streamline

    @TradeshowDefault = Tradeshow

    @lookAndFeelDefault = null

    @language = en

    @autoSelectMode = true

    When I look in the manual for admin configuration it sounds a little bit complicated.

    I want to use GUI within the NW 6.40 testdrive using Firefox browser.

    Can you give me a standard configuration for this case?

    Many thanks for your help!


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Rolf-Martin,

      I've already post the OSS message at SAP within all the details of how to get into this bug situation. I'll be aware of any answer from SAP team whenever they let us know how to get a fix to solve this bug.


      best regards.


  • Posted on Apr 11, 2005 at 10:22 AM


    please do not use the SAPGUI for Java from that DVD. It comes with its own (unsupported) start script which causes several issues.

    Please use latest SAPGUI for Java available at

    Best regards

    Rolf-Martin Woersinger

    SAPGUI for Java project lead

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Johannes,

      1) Suse 9.1 is fine as well, in the upcoming 6.40 version of SAPGUI for Java it will be listed officiallly.

      You do not need Java Plug-in as long you are not planning to use SAPGUI for Java running inside Netscape/Mozilla.

      In the meantime, asking for native thread support is an anachronism. This was relevant for first JavaVMs available on Linux. This has been removed from documentation in 6.40 version.

      2) PLATIN_JAVA should be fine, PLATIN_JAVA_VERS should be PLATIN_JAVA_VER (without S), but this is not the cause of your current problem

      3) This error message indicates that X applications do not have access to the display. Starting e.g. xclock will also fail. You might have changed to root before installing but lost permissions to access X display. So please make sure that the user you are installing with has access to X display.

      Hope this helps.

      Best regards


  • author's profile photo Former Member
    Former Member
    Posted on Apr 27, 2005 at 12:07 AM

    Hi everybody:

    I've just installed the 6.30 2nd rev, according to the users guide, i've set all the environment variables to run the GUI over the VM, the variables are set as follows:




    But the problem starts when i try to run the GUI in a terminal, it raises the next exception:


    Splash image not found


    at$ Source)

    at Method)

    at Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Unknown Source)



    Do i need to do something else to make it run as well?

    My plataform it's Linux Ubuntu Hoary, kernel 2.6.10

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Gerardo,

      The dependency to comes from gcc 2.95.

      The library itself can be found in the libstdc++2.10-glibc2.2 package:

      Package Contents Search Results

      You have searched for the contents of libstdc++2.10-glibc2.2 in stable, architecture i386.

      Package contains 7 files, displaying files 1 to 7.


      usr/lib/ base/libstdc+2.10-glibc2.2

      usr/lib/ base/libstdc+2.10-glibc2.2

      usr/share/doc/libstdc+2.10-glibc2.2/README.Bugs.gz base/libstdc+2.10-glibc2.2

      usr/share/doc/libstdc+2.10-glibc2.2/README.Debian.gz base/libstdc+2.10-glibc2.2

      usr/share/doc/libstdc+2.10-glibc2.2/changelog.Debian.gz base/libstdc+2.10-glibc2.2

      usr/share/doc/libstdc+2.10-glibc2.2/copyright base/libstdc+2.10-glibc2.2

      usr/share/doc/libstdc+2.10-glibc2.2/test-summary.gz base/libstdc+2.10-glibc2.2

      with kind regards

      Michael Barth

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.