newbie:ClassNotFoundException when running application

Frederic ALBERT Frederic.ALBERT at st.com
Mon May 28 04:52:59 PDT 2001


Hi all users,

I'm newbie Kaffe user, trying to make java applets running.

Maybe you'll fill bothering about unexperimented people asking 
for stupid questions. Sorry!

I just checked-out last version from cvs server, and runned :

./configure
make
make install
make check

Most of regression tests failed into messages :

>java.lang.ClassNotFoundException: NameOfMyClassApplication
>        at java.lang.Class.forName(Class.java:native)
>        at java.lang.Class.forName(Class.java:54)

Same problem with any java games, applets...

Compiling with javac seems to be performed without error message.

Every /awt/*.jar application provided, runs properly.

But when I run scripts Calc.sh or Unico.sh execution failed as above.

I use Linux kernel 2.2.16 on standard Pentium.

Here is my CLASSPATH :
/tests/java/TextEdit.class:/tests/java/kaffe/test/awt/Calc/Calc.class:
/usr/local/share/kaffe/tools.jar:/usr/local/share/kaffe/Klasses.jar:
/usr/local/share/kaffe/kjc.jar:/usr/local/share/kaffe/rmi.jar:
/usr/local/share/kaffe/microsoft.jar:/usr/local/share/kaffe/comm.jar:
/usr/local/share/kaffe/servlet.jar:/usr/local/share/kaffe/pjava.jar:
/opt/netscape/java/capsapi_classes.zip

Thanks for help.

=====================================================================
Frederic ALBERT


More information about the kaffe mailing list