Skip to Content
avatar image
Former Member

SAPGUI for Java - Installs Fine, But Wont Run

Error when starting: Could not find main class. Program will exit.

This is displayed in a box entitled "Java Virtual Machine Launcher".

1) Windows XP

2) Java JRE 1.6 Patch 12 (the latest)

3) Path vars are set just like other PCs on which the Java Gui is working fine

4) Installation log claims to be successful

5) The error above displays when starting the GUI. Cannot get far enough to turn tracing on.

6) Works on 6 our of 7 Pcs that we have tested. If this PC is different than the rest, we are not able to easily determine what the difference is.

Ideas for troubleshooting would be welcomed.

Cannot find any notes/forum hits that seem to apply.

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 03, 2009 at 04:05 PM

    Hello John,

    the error message you see is what typically happens when the JRE is too old to load the classes of the jars provided in the classpath.

    Although your are writing you have Java JRE 1.6 Patch 12, please double check if this is the case on the particular PC and it is run from cmd when typing "java -version".

    Best regards

    Rolf-Martin

    Add comment
    10|10000 characters needed characters exceeded