🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: New Packages

#1735
From: Joi Ellis [TeamB]
Date: Sat, 22 Sep 2001 16:08
32 lines
2485 bytes
Rob <"relaxedrob@optushome.com.au"> wrote:
> Thank you for your continued attention Joi!

> OK - I don't understand how this works.

> When I try control-alt-space, I still do not see 'ext', 'lib' or 'FontChooser'
> packages there, which tells me that whatever steps I have performed earlier
> ("Tools >> Configure JDK's >> Class >> Add >>
> c:/jdk/jre/lib/ext/FontChooser.jar") this has not added my classes to the list
> of importable java packages.

What does "jar tf c:/jdk/jre/lib/ext/FontChooser.jar" say the jar contains?
(You can cheat and use JBuilder's IDE to browse the contents if you add the
jar to the project pane and then double-click on it to open it.  This will
not resolve the import problem you're having, it will just let you view the
contents of the jar file.)

> How do I add a jar file or directory to the list of importable java packages??

It should be there.  You will not see lib or ext in the package list, they
aren't packages, they're just the location where the jar is.  Jars are
self-contained and the package list starts inside the jar.

Look inside the jar.  Either the jar file itself is corrupt, or it doesn't
contain the package name you think it does.

--
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID: <3bacb76d_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@dnews> <3bac9bf5_1@dnews> <3bac9fa7$1_2@dnews> <3baca2d0_2@dnews> <3bacb46b$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f082586d7b00139e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-22 09:09:26 PST
Message-ID: <3bacb76d_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: New Packages
Newsgroups: borland.public.jbuilder.java.api
References: <3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@dnews> <3bac9bf5_1@dnews> <3bac9fa7$1_2@dnews> <3baca2d0_2@dnews> <3bacb46b$1_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 22 Sep 2001 09:08:13 -0700
X-Trace: dnews 1001174893 209.46.41.66 (22 Sep 2001 09:08:13 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail