Article View: borland.public.jbuilder.java.api
Article #1550Re: Libraries and unkown source
From: John McGrath TeamB
Date: Fri, 30 Nov 2001 23:49
Date: Fri, 30 Nov 2001 23:49
22 lines
1477 bytes
1477 bytes
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:
<MPG.1671e5059dff63f498ac96@forums.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c07e522$1_2@dnews>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-11-30 15:51:40 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: Libraries and unkown source Date: Fri, 30 Nov 2001 18:49:15 -0500 Message-ID: <MPG.1671e5059dff63f498ac96@forums.borland.com> References: <3c07e522$1_2@dnews> X-Newsreader: MicroPlanet Gravity v2.60 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 1007164154 209.92.40.60 (30 Nov 2001 15:49:14 -0800) Lines: 22 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews