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 

Neophyte jar-making question...

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java
View previous topic :: View next topic  
Author Message
Yam Sipes
Guest





PostPosted: Thu Dec 04, 2008 6:47 am    Post subject: Neophyte jar-making question... Reply with quote



Using JBuilder 2008, I have a small app that has the JExcel library in the
"referenced libraries.

So, when I run the app from JBuilder, it's perfect, but when I use JB to
create an jar, the jar runs fine, but I get the exception

java.lang.NoClassDefFoundError

and it specifies a class in the JExcel API. Now, I understand that java
doesn't know where to look for the JExcel API jar (jxl.jar), but what I'd
prefer to do is import jxl.jar into the project and get it included in the
final executable jar.

Any thoughts on what I need to do?

Thanks.
Back to top
EricF
Guest





PostPosted: Thu Dec 04, 2008 10:18 am    Post subject: Re: Neophyte jar-making question... Reply with quote



In article <Xns9B69C9697A91yamsipes (AT) 74 (DOT) 209.136.84>, Yam Sipes <nobody (AT) nowhere (DOT) com> wrote:
Quote:
Using JBuilder 2008, I have a small app that has the JExcel library in the
"referenced libraries.

So, when I run the app from JBuilder, it's perfect, but when I use JB to
create an jar, the jar runs fine, but I get the exception

java.lang.NoClassDefFoundError

and it specifies a class in the JExcel API. Now, I understand that java
doesn't know where to look for the JExcel API jar (jxl.jar), but what I'd
prefer to do is import jxl.jar into the project and get it included in the
final executable jar.

Any thoughts on what I need to do?

Thanks.

Add jxl.jar to the classpath.
Back to top
Yam Sipes
Guest





PostPosted: Thu Dec 04, 2008 8:55 pm    Post subject: Re: Neophyte jar-making question... Reply with quote



efriedNoSpam (AT) yahoo (DOT) com (EricF) wrote in
news:oQIZk.3570$UI2.2136 (AT) bignews6 (DOT) bellsouth.net:


Quote:

Add jxl.jar to the classpath.


Err... What mean? I added the .jar location to the Win classpath env var.
No dice. Do you mean add the ,jar location to the classpath in JBuilder?
Tried that, too.

May I contact you by Yahoo Messenger/email? (about this - not "commercial
stuff" Wink )
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java 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.