You can work around this by running something like:
java -cp `ls -w 10000 -m /usr/share/javaHMO/lib/*.jar |sed
-e 's/, /:/g'` -Droot=/usr/share/javaHMO -Dconf=/etc/javaHMO
-Dcache=/tmp/javaHMO.cache -Dlogfile=/va
r/log/javaHMO.log org.lnicholls.javahmo.gui.JavaHMO
Take a look at some of the postings in the forum here more
more info.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried running this on my Fedora Core 3 box, and received
the following:
[root@server bin]# java -cp `ls -w 10000 -m
/usr/share/javaHMO/lib/*.jar |sed -e 's/, /:/g'`
-Droot=/usr/share/javaHMO -Dconf=/etc/javaHMO
-Dcache=/tmp/javaHMO.cache -Dlogfile=/var/log/javaHMO.log
org.lnicholls.javahmo.gui.JavaHMO
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass()
(/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String)
(/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run()
(/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0
(/usr/bin/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses
(/usr/bin/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
Caused by: java.lang.NullPointerException
at java.awt.Window.Window(java.awt.Frame)
(/usr/lib/libgcj.so.5.0.0)
at javax.swing.JWindow.JWindow(java.awt.Frame)
(/usr/lib/libgcj.so.5.0.0)
at
org.lnicholls.javahmo.gui.JavaHMO$SplashWindow.JavaHMO$SplashWindow()
(Unknown Source)
at org.lnicholls.javahmo.gui.JavaHMO.<clinit>() (Unknown
Source)
at java.lang.Class.initializeClass()
(/usr/lib/libgcj.so.5.0.0)
...8 more
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also ran into the problem, and the enclosed example script
does work. If you could get the development team to add this
to the RPM that would make a lot of peoples lives easier.
By the way looking forward to seeing Galleon. This is a
great project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=33992
You can work around this by running something like:
java -cp `ls -w 10000 -m /usr/share/javaHMO/lib/*.jar |sed
-e 's/, /:/g'` -Droot=/usr/share/javaHMO -Dconf=/etc/javaHMO
-Dcache=/tmp/javaHMO.cache -Dlogfile=/va
r/log/javaHMO.log org.lnicholls.javahmo.gui.JavaHMO
Take a look at some of the postings in the forum here more
more info.
Logged In: YES
user_id=1168451
I tried running this on my Fedora Core 3 box, and received
the following:
[root@server bin]# java -cp `ls -w 10000 -m
/usr/share/javaHMO/lib/*.jar |sed -e 's/, /:/g'`
-Droot=/usr/share/javaHMO -Dconf=/etc/javaHMO
-Dcache=/tmp/javaHMO.cache -Dlogfile=/var/log/javaHMO.log
org.lnicholls.javahmo.gui.JavaHMO
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass()
(/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String)
(/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run()
(/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0
(/usr/bin/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses
(/usr/bin/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
Caused by: java.lang.NullPointerException
at java.awt.Window.Window(java.awt.Frame)
(/usr/lib/libgcj.so.5.0.0)
at javax.swing.JWindow.JWindow(java.awt.Frame)
(/usr/lib/libgcj.so.5.0.0)
at
org.lnicholls.javahmo.gui.JavaHMO$SplashWindow.JavaHMO$SplashWindow()
(Unknown Source)
at org.lnicholls.javahmo.gui.JavaHMO.<clinit>() (Unknown
Source)
at java.lang.Class.initializeClass()
(/usr/lib/libgcj.so.5.0.0)
...8 more
Logged In: NO
I also ran into the problem, and the enclosed example script
does work. If you could get the development team to add this
to the RPM that would make a lot of peoples lives easier.
By the way looking forward to seeing Galleon. This is a
great project.