loading class error

banders banders at ECD.Rockwell.COM
Sun Aug 31 18:16:41 PDT 1997


AFAIK,
You should type javac HelloWorld.java to create HelloWorld.class.
Or you can use the equivalent with guavac
Then java HelloWorld or in your case,
kaffe HelloWorld.

Programming isn't a big problem, it's the details that kill ya.

zeustech wrote:
> 
> heres the details...
> 
> [root at localhost pabcode]# echo $KAFFEHOME
> .:/local/apps/kaffe-0.9.1:/local/apps/kaffe-0.9.1
> [root at localhost pabcode]# echo $CLASSPATH
> .:/local/apps/jdk1.1.3/lib/classes.zip:/local/apps/kaffe-0.9.1
> [root at localhost pabcode]# echo $LD_LIBRARY_PATH
> .:/local/apps/kaffe-0.9.1/lib:/usr/lib:/local/apps/kaffe-0.9.1
> 
> [root at localhost tmp]# uname -a
> Linux localhost.localdomain 2.0.30 #1 Sat Jul 19 00:04:22 GMT 1997 i486
> 
> [root at localhost tmp]# kaffe -version
> Kaffe Virtual Machine
> Copyright (c) 1997 T. J. Wilkinson & Associates, London, UK.
> Engine: Just-in-time   Version: 0.91   Java Version: 1.1.2
> 
> heres the prob...
> 
> [root at localhost test]# kaffe HelloWorldApp.java
> java.lang.ClassNotFoundException: HelloWorldApp/java
> 
> Help much appreciated :)
> 
> zeustech at anglianet.co.uk



More information about the kaffe mailing list