Newbie problems with GIJ (exception faults)

Per Bothner per@bothner.com
Thu Sep 2 00:45:00 GMT 2004


Marreco wrote:

> Hello,
> I have got the following error running GIJ with a simple 
> HelloWorld.class, generated with GCJ and another with javac:
> 
> me@machine:~->gij hello.class
> Exception in thread "main" java.lang.NoClassDefFoundError: hello.class

Just as withjava, you specific the class name, without the ".class":

$ gij hello
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Java mailing list