Hi all,

this is my first questions here, but many of discussions here solved many of 
mine problems.

I've download and installed j2sdk rpm from sun. It installed succesfully. Even 
in mozilla 1.6 i can run applets with the symlink. But im trying to run .jar 
java applications. I've done these to set PATH and CLASSPATH in Konsole for 
j2sdk:
PATH=$PATH:/usr/java/j2sdk1.4.2_03/bin
CLASSPATH=/usr/java/j2sdk1.4.2_03/lib

When I try to run any .jar like:
java Application.jar
I receive these error in .jar file:
Exception in thread "main" java.lang.NoClassDefFoundError

Am I doing everything ok? Is there any way easier to set PATH and CLASSPATH?

Thanks for any help!

----------
Henrique


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to