Re: java vm not working, appletviewer does...
Hi ,
this is not a problem of debian / our alpha.
This is a problem that java can't found the class-file.
Run the HelloWorld java program as
gl:~/java/Hello$ java -classpath . HelloWorld
without .class extension and the optional -classpath option.
Regards,
Andreas.
-- On 06.04.2003 20:03:51 +0200 "gl :)" <gl@despammed.com> wrote:
Hello everybody :)
I've got great headhaces trying to setup Compaq JDK 1.3.1 on my PWS runnind
debian SID. At first sight my problem seems a classpath related faq, but I
cannot find a solution anywhere. My CLASSPATH is set to
/usr/java/jdk1.3.1:/usr/java/jdk1.3.1/lib:/usr/java/jdk1.3.1/jre/lib:.
which should be fine.
When I try to run the HelloWorld code...
gl:~/java/Hello$ java HelloWorld.class Exception in thread "main"
java.lang.NoClassDefFoundError: HelloWorld/class
The HelloWorldApp applet code instead runs fine in the jdk appletviewer...
What should I do?
Thanks
gl :)
--
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Mit freundlichen Grüßen/Best regards,
Andreas Czerniak.
///---------------------------------------------------------------------///
Andreas Czerniak ac@amcs.net
AMCS - Network services, concepts & consulting www.amcs.net
Germany communication and groupware Fax:+49-431-2000447
PGPkey http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xEDB224EC
///---------------------------------------------------------------------///
Reply to: