Error msg "java.lang.NoSuchMethodError: main"
loh york hong, brennon
cwclohyh at nus.edu.sg
Thu Jan 14 16:58:38 PST 1999
best regards.
**************************************************************
* loh york hong, brennon *
* Research & Development Engineer *
**************************************************************
* Centre for Wireless Communications *
* 20 Science Park Road *
* #02-34/37, TeleTech Park, *
* Singapore Science Park II, *
* Singapore 117674 *
* Tel: (65)870-9333 (main line) *
* (65)870-9275 (DID) *
* Fax: (65)779-5441 *
* *
* http://www.cwc.nus.edu.sg *
* *
**************************************************************
-----Original Message-----
From: Parmelan, Edouard <EP510777 at exchange.FRANCE.NCR.com>
To: 'kaffe at rufus.w3.org' <kaffe at rufus.w3.org>
Date: 14 January 1999 18:02
Subject: RE: Error msg "java.lang.NoSuchMethodError: main"
>Ioh,
>
>> I have installed kaffe (v1.0.b3-3 from Trnsvirtual site) onto my
>> Pentium running Linux (RedHat v5.2)
>>
>> everytime I compile (no problem) and run my Java applications
>> I encounter these error messages, pls help
>> java.lang.NoSuchMethodError: main
>> at java/lang/Throwable.<init>(37)
>> at java/lang/Error.<init>(21)
>> at java/lang/LinkageError.<init>(21)
>> at java/lang/IncompatibleClassChangeError.<init>(21)
>> at java/lang/NoSuchMethodError.<init>(21)
>
>Have you run "make test" ?
No I did not; coz' I downloaded just the binary and
install it; not the src codes.
>
>what is the value of CLASSPATH ?
>
I'm afraid I did not set this, perhaps you can tell
me exactly how to set this !!??
>How did you start your Java application ?
>
Say my class name is SimpleFrame,
I compiled this with "javac SimpleFrame.java"
then I ran the appls with "kaffe SimpleFrame" and these
are the exact messages I got
>
>Edouard.
>
More information about the kaffe
mailing list