This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
running jar files with gij
- From: Bojan Antonovic <bojan at antonovic dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 28 Oct 2004 13:41:02 +0200
- Subject: running jar files with gij
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