AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NetBeans NoClassDefFoundError

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Google@TradeHound.com
Guest





PostPosted: Wed Nov 23, 2005 3:38 am    Post subject: NetBeans NoClassDefFoundError Reply with quote



I am using NetBeans 4.1. I have a simple project, TestFormJar, that
works fine when running thru NetBeans. But when I double click
TestFormJar.jar it doesn't work correctly. And when I run
TestFormJar.jar from a command line it gives NoClassDefFoundError.

There is a third party file, enum11.jar, that I have included in
NetBeans. I unzipped TestFormJar.jar and discovered that enum11.jar
isn't included in TestFormJar.jar.

How do I tell NetBeans to include all the .jar files necessary to run
as a stand alone? NetBeans has it since it somehow works within the
IDE.

Thank you for any suggestions.

Back to top
Google@TradeHound.com
Guest





PostPosted: Fri Nov 25, 2005 3:28 pm    Post subject: Re: NetBeans NoClassDefFoundError Reply with quote



I discovered that NetBeans is for development only and is not very
"production" friendly. So it will NOT create an executable .jar if
there is anything in your Library.

But I did find a way to work around it:
http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=56396

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.