🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1558

Re: Libraries and unkown source

#1558
From: Roy McBrayer
Date: Sat, 01 Dec 2001 16:34
28 lines
2200 bytes
I'm not sure why it can't find the IPWorks library.  If I include it as a required library for the project, shouldn't JBuilder include all of the required files in the jar?  I am specifying that all classes and resources for IPWorks be included in the jar.  I encountered this problem before with trying to use class files in a third party package and have never been able to figure out how to integrate them into a project in JBuilder so that they can be found at run time.  I thought that was what the library functionality provided.  Can anyone explain this?

Roy

John McGrath  [TeamB] <ng-b@JPMcGrath.net> wrote:
>On 30 Nov 2001 11:59:30 -0800, Roy McBrayer wrote:
>
>> It works fine from within JBuilder but will not work with the
>> jar from the command line.
>
>> $ java -jar mailtest.jar
>> Exception in thread "main" java.lang.NoClassDefFoundError
>
>It cannot find the IPWorks library.  You can specify it with the java 
>-classpath option.
>
>There is also a mechanism for specifying required libraries in the 
>manifest, but I have not used it.
>
>-- 
>Regards,
>
>John McGrath [TeamB]
>
>---------------------------------------------------
>Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <3c090696$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.abs.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3c07e522$1_2@dnews> <MPG.1671e5059dff63f498ac96@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,8c8c8ceeb08274f
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-12-01 08:39:27 PST
From: "Roy McBrayer" <roymcbrayer@austin.rr.com>
Sender: "Roy McBrayer" <roymcbrayer@austin.rr.com>
Reply-To: "Roy McBrayer" <roymcbrayer@austin.rr.com>
Subject: Re: Libraries and unkown source
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 63.160.3.152 63.160.3.152    
References: <3c07e522$1_2@dnews>  <MPG.1671e5059dff63f498ac96@forums.borland.com> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3c090696$1_2@dnews>
Date: 1 Dec 2001 08:34:30 -0800
X-Trace: dnews 1007224470 207.105.83.65 (1 Dec 2001 08:34:30 -0800)
Lines: 29
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.abs.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews