java.lang.NoClassDefFoundError: when running application from jar
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Satish_Gauns
Posted On:   Wednesday, October 11, 2006 09:38 AM

My application is using the the classes from some jar file.
I have made my application as jar and when I run my jar file I am getting the error "java.lang.NoClassDefFoundError:".

These clsees are present is the jar file which my application is using.

Note : There are two jar file
1)jar file of my application
2)jar file which my application is using.The classes from this jar files are imported into my application.

Re: java.lang.NoClassDefFoundError: when running application from jar

Posted By:   WarnerJan_Veldhuis  
Posted On:   Wednesday, October 11, 2006 02:17 PM

First of all: crossposting this in areas that have nothing to do with the subject is generally a bad idea. Java400 and Eclipse are not related to this.



Second, set the Class-Path paramter in your manifest. For details see here: http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html
About | Sitemap | Contact