Results 1 to 4 of 4

Thread: DBGL fails to start

  1. #1

    Default DBGL fails to start

    Hi!

    I have a problem with DBGL (DosBox Graphic Launcher), after installation through Yast I got the icons alright but when clicked they just bounce for some time and then nothing, the program DBGL doesn't start, while DosBox alone works o.k.

    Running DBGL in Terminal gives me this:
    pingvin@linux-f1l7:~> dbgl.sh

    starting ...
    java virtual machine used: /usr/lib/jvm/jre/bin/java
    classpath used: /usr/share/java/hsqldb.jar:/usr/share/java/liquidlnf.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar:/usr/share/java/dbgl/lib/J7Zip.jar:/usr/share/java/dbgl/lib/commons-lang-2.4.jar:/usr/share/java/dbgl/lib/swing2swt.jar:/usr/share/java/dbgl/dbgl.jar
    main class used: com.gui.MainWindow
    flags used:
    options used: -Djava.library.path=/usr/lib64/swt:/usr/lib/swt
    arguments used:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/gui/MainWindow
    Caused by: java.lang.ClassNotFoundException: com.gui.MainWindow
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    Could not find the main class: com.gui.MainWindow. Program will exit.

    I am not skilled enough to know what this means.
    Any suggestions?

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: DBGL fails to start

    I'm not familiar with this program. But, I just installed it and made it working with the following command:
    Code:
    java -Djava.ext.dirs=/usr/share/java:/usr/share/java/dbgl:/usr/share/java/dbgl/lib org.dbgl.gui.MainWindow
    It will not work with the dbgl.sh command. It looks like some packaging problem.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3

    Default Re: DBGL fails to start

    Hello all,

    I'm facing the same problem with SUSE 11.3. DBGL fails to start. DBGL was working using suse 10.3. Was someone running dbgl.sh successfully? Any new information? In deed, looks like a packaging problem.

    Thanks

    Armin

  4. #4

    Default Re: DBGL fails to start

    In the dbgl.sh script change:
    Code:
    MAIN_CLASS="com.gui.MainWindow"
    to
    Code:
    MAIN_CLASS="org.dbgl.gui.MainWindow"
    and it should work. Someone should probably tell the packagers.

    g

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •