🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Archive Wizard generates incorrect JAR files

#1364
From: Tor Iver Wilhelmsen
Date: Thu, 31 Jan 2002 16:19
20 lines
1951 bytes
"Joi Ellis [TeamB]" <joi@aravox.com> writes:

> Ok, now I'm confused.  That page is talking about JDK extensions.
> Extensions are packaged in a single jar for easy installation and
> security.  There's nothing in there at all about java packages.

Java packages that represent "extensions"/libraries your app depends
on (say, classes12.zip for Oracle JDBC) should be addressed via
"Class-Path" for purposes of allowing "java -jar" type invocation,
which doesn't use -classpath or the env. variable CLASSPATH.

The alternatives are either to ship the packages as part of the JAR
file (which is akin to static linking in C and perhaps against the
license for the library) or place the jars in the lib/ext directory of
the JRE.

This is relevant to how the JBuilder Archive Builder wizard constructs
the manifest file for libraries with "Exclude all" option. You can
tell it to create the manifest into the project, edit that by hand and
change the archive node to use the edited manifest, though.
Technical Details
Message-ID: <ud6zqcx31.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3C57A352.6788B633@solarenergy.ch> <3c58047b_2@dnews> <uk7tyizth.fsf@ergo.no> <3c594ca7_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,c02176f8fd925de0
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-01-31 08:41:51 PST
Sender: towi@SDSA3850
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Archive Wizard generates incorrect JAR files
References: <3C57A352.6788B633@solarenergy.ch> <3c58047b_2@dnews> <uk7tyizth.fsf@ergo.no> <3c594ca7_1@dnews>
From: Tor Iver Wilhelmsen <tor.wilhelmsen@ergo.no>
Date: 31 Jan 2002 17:19:14 +0100
Message-ID: <ud6zqcx31.fsf@ergo.no>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 139.105.6.25
X-Trace: dnews 1012493961 139.105.6.25 (31 Jan 2002 08:19:21 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews