Error msg "java.lang.NoSuchMethodError: main"

Parmelan, Edouard EP510777 at
Thu Jan 14 01:56:22 PST 1999


> 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" ?

what is the value of CLASSPATH ?

How did you start your Java application ?


More information about the kaffe mailing list