Article View: borland.public.jbuilder.java.api
Article #928Re: a class path question from newbie
From: Gillmer J. Derge [TeamB]
Date: Fri, 05 Jul 2002 20:49
Date: Fri, 05 Jul 2002 20:49
21 lines
1829 bytes
1829 bytes
"Limei Zhang" <lzhang@cpcinc.ca> wrote in message news:3d260034_2@dnews... > I am using jbuilder 6.0 Professional version in Window NT > > When I run my program, I have import a libary from, let say d:a\b\*.class > so I went to Project -->project properties --> pathes --> required library > then I add a new library with > class path: d:a\b\ > source path: d:a\b\ Are these classes in the package a.b? If so, the library paths should not include the directories a and b. Those are added automatically based on the package name. To give a more concrete example, suppose your class com.mydomain.mypackage.MyClass is in C:\My Documents\Classes\com\mydomain\mypackage\MyClass.class. Then the library's class path should contain C:\My Documents\Classes. -- Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<3d260658$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.207.0.26.MISMATCH!brdr3.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3d260034_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,2b125d8c3d0f5df2 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-07-05 14:02:09 PST From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> Newsgroups: borland.public.jbuilder.java.api References: <3d260034_2@dnews> Subject: Re: a class path question from newbie Date: Fri, 5 Jul 2002 16:49:37 -0400 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 24.58.130.24 Message-ID: <3d260658$1_2@dnews> X-Trace: dnews 1025902168 24.58.130.24 (5 Jul 2002 13:49:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.207.0.26.MISMATCH!brdr3.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews