Results 1 to 6 of 6
Thread: ClassNotFoundException
- 04-23-2010, 03:43 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
ClassNotFoundException
Hi,
I use a open source package in my program. The package is in a jar file. I use -classpath to import the jar file when compiling it and it works well. But when I execute it I meet the ClassNotFoundException exception and the class not found is the class in that jar file. I set the classpath environment variable and it seems working well. However, when I pack my program into jar file, I meet the exception again. This time I cannot figure how to make it run successfully. Any ideas?
- 04-23-2010, 05:36 AM #2
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
What IDE do you use?
- 04-23-2010, 10:09 AM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,470
- Rep Power
- 16
What does the MANIFEST look like in your jar file?
- 04-23-2010, 02:09 PM #4
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
- 04-23-2010, 02:11 PM #5
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
- 04-23-2010, 03:05 PM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,470
- Rep Power
- 16
Similar Threads
-
ClassNotFoundException with Applet and new JRE
By marrra in forum Java AppletsReplies: 3Last Post: 06-22-2010, 11:13 AM -
ClassNotFoundException
By Edward in forum New To JavaReplies: 2Last Post: 06-29-2009, 07:08 PM -
ClassNotFoundException JSP
By TDMaster in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-27-2009, 07:41 AM -
ClassNotFoundException
By Chezelle in forum Java AppletsReplies: 5Last Post: 12-24-2008, 04:26 PM -
Getting UnmarshalException n ClassNotFoundException in RMI
By anuj_1983 in forum New To JavaReplies: 0Last Post: 07-09-2008, 12:36 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks