Article View: borland.public.jbuilder.java.api
Article #1562Re: Libraries and unkown source
From: Roy McBrayer
Date: Mon, 03 Dec 2001 18:36
Date: Mon, 03 Dec 2001 18:36
56 lines
3156 bytes
3156 bytes
I forgot to add that I already had the archive builder set up to include all required libraries so that should not be an issue. Thanks, Roy Joi Ellis <joi@artoo.gyles19.visi.com> wrote: >Roy McBrayer <roymcbrayer@austin.rr.com> wrote: > >> 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? > >By default, the archive builder excludes everything in required libraries. >You have to visit the node's properties | dependencies tab and change >this behavior. However, beware that doing so may violate the license >agreement with IP*Works. I can't find the reference, but I think that >jar is a developer license only, not a deployment license. > >For using the app's manifest to control the classpath, see here: >http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=252 > >> 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:
<3c0bc628_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nnxp1.twtelecom.net!209.98.3.200.MISMATCH!priapus.visi.com!news-out.visi.com!hermes.visi.com!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> <MPG.1671e5059dff63f498ac96@forums.borland.com> <3c090696$1_2@dnews> <3c0a28df_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-12-03 10:39:59 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> <3c090696$1_2@dnews> <3c0a28df_2@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3c0bc628_1@dnews> Date: 3 Dec 2001 10:36:24 -0800 X-Trace: dnews 1007404584 207.105.83.65 (3 Dec 2001 10:36:24 -0800) Lines: 57 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nnxp1.twtelecom.net!209.98.3.200.MISMATCH!priapus.visi.com!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews