Article View: borland.public.jbuilder.java.language
Article #17658Re: how to import
From: Dillan Fernando
Date: Thu, 15 Oct 1998 00:00
Date: Thu, 15 Oct 1998 00:00
40 lines
1356 bytes
1356 bytes
Hi! As far as I know, you don't have to import classes in the same package. Try you Project Properties (File ->Project Properties), and check whether you hava set you class path. I had a similar problem and I added a new class path, to Jbuilder2/myclasses, Maby this is not the most efficient way, but it worked. Initially I tried changinf the output root dir, it didn't work. Hope this help. Regards Dillan Fernando Senior Analyst Palmware (pvt) Ltd. Sri Lanka Ernest Schloesser wrote in message <70511f$o2q3@forums.borland.com>... >suppose I have two classes >One >Two >Both are defined in package myPack > >I want to use class One in the file for class Two, so I wrote: > >import myPack.One > >did not work, I get an error: >cannot access class myPack.One; neither class nor source found for >myPack.One > >What am I doing wrong ? > >Ernest > > >
Technical Details
Message-ID:
<7055tr$o2m6@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<70511f$o2q3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a440b80d77bd91e3 X-Google-Attributes: gidf74b3,public From: "Dillan Fernando" <dillan@geocities.com> Subject: Re: how to import Date: 1998/10/15 Message-ID: <7055tr$o2m6@forums.borland.com> X-Deja-AN: 401390730 References: <70511f$o2q3@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Palmware Newsgroups: borland.public.jbuilder.java.language