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?

I’m not familiar with this program. But, I just installed it and made it working with the following command:

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.

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

In the dbgl.sh script change:

MAIN_CLASS="com.gui.MainWindow"

to

MAIN_CLASS="org.dbgl.gui.MainWindow"

and it should work. Someone should probably tell the packagers.

g