This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Java libraries and proposal.
- To: james at netcsi dot com
- Subject: Re: Java libraries and proposal.
- From: Per Bothner <per at bothner dot com>
- Date: 11 Apr 2001 12:32:12 -0700
- Cc: debian-java at lists dot debian dot org, java at gcc dot gnu dot org
- References: <20010406125917.A17387@diamond.opal.dhs.org><003601c0bef4$94cdd930$805b4181@damien><m2d7ao3y66.fsf@kelso.bothner.com> <20010411151135.A8335@netcsi.com>
james@netcsi.com writes:
> I think explicitly specifying the .jars you want to import into your
> library or application, with sonames if necessary, seems better.
That is fine for nicely-packaged libraries and applications. However,
I'm concerned about a random Java programmer who should not have to
manually fiddle with their classpath. Such programmers should be able
to write Java code without having to know which jar is where. Also,
if each application has to specify jars, then you also complicate the
life of people developing such applications. Hence, I feel the
'add everything" approach is a reasonable default.
> The 'add everything' approach only invites DLL hell.
Well, first this is what Sun does, at least to some extent, with the
"extensions" mechanism.
Secondly, DLL hell as I understand it is a completely different problem,
due to lack of support for multiple versions of a library, and applications
installing a version they need without consideration for other applications.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/