running jar files with gij
Bojan Antonovic
bojan@antonovic.com
Thu Oct 28 11:41:00 GMT 2004
I have a simple problem, or I am simple:
I can run a jar file with java by
java -jar SMOOD.jar
And I can compile it with GCJ by
gcj --main=smood.Main SMOOD.jar
(resulting to an a.out). However,
gij -jar SMOOD.jar
gives
Exception in thread "main" java.lang.NoClassDefFoundError: smood/Main
<<No stacktrace available>>
So how can I run it with gij ? I have compiled GCJ on Mac OS X myself.
Look at: http://gcc.gnu.org/ml/gcc/2004-09/msg00677.html.
Bojan
More information about the Java
mailing list