« Return to Thread: NoClassDefFoundError

Re: NoClassDefFoundError

by Philip Warne :: Rate this Message:

Reply to Author | View in Thread

Also make sure you see all the jars that your application uses in the lib directory under the dist folder.
 
cd /yourapp/dist
 
java -jar yourapp.jar
 
should do the trick.

John <johnbell@...> wrote:
Hi,

Using Windows XP SP2, netbeans 5.0 update 6

Please bare with me while I ask a couple dumb questions. The first has
to do with release .jars vs ide debug runs. Why does my application run
when I press F5, but if I compile it with F11 and run it from the
command line I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/batik/tran
scoder/image/PNGTranscoder

Thanks


Yahoo! Mail goes everywhere you do. Get it on your phone.

 « Return to Thread: NoClassDefFoundError