This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie problems with GIJ (exception faults)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]