This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
classpaths and jar files
- To: "Java at Gcc dot Gnu. Org" <java at gcc dot gnu dot org>
- Subject: classpaths and jar files
- From: "Anthony Green" <green at redhat dot com>
- Date: Fri, 6 Jul 2001 15:32:10 -0700
Jar files are used to hold many different kinds of resources which programs
may read at runtime (property files, or other data read using getResource*).
It would be convenient if the compiler would arrange for the fully linked
executable's built-in classpath to include any installed jar files used at
time of compilation.
The alternative is for users to set their classpath at progam runtime, or to
force it into the link with -Djava.class.path=XXX.
I don't know how you would go about implementing this off hand....
AG