java.lang.ClassNotFoundException:HelloWorldApp

Michael R. Harper mikihasa at worldnet.att.net
Wed Mar 4 01:27:42 PST 1998


Dear Alan,

A couple of things:

1) When you use javac, the source code needs to have a .java extension or it will not
work, and you need to include the .java extension on the commandline

2) If you did #1 and just omitted it in your note, then try putting dot (., the CWD)
in your CLASSPATH.

Sincerely,

Michael R. Harper
mikihasa at worldnet.att.net

Alain Renard wrote:

> Having downloaded
>
> kaffe-0.9.2.tgz
> kaffe-package-biss-net.com.tgz
> kaffe-package-epfl.ch.tgz
> kaffe-0.9.2-package-javasoft.com.tgz
>
> and unpacked them in the same directory,
> ./configure worked fine, as did make and make install.
>
> Then,
> #export
> CLASSPATH=/usr/local/kaffe-0.9.2/packages/javasoft.com/APIcore/classes/classes.zip
> #export
> KAFFEHOME=/usr/local/kaffe-0.9.2/packages/javasoft.com/APIcore/classes/
> #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> #javac HelloWorldApp
> #kaffe HelloWorldApp
> java.lang.ClassNotFoundException: HelloWorldApp
>
> Help, please...?





More information about the kaffe mailing list