classpaths and jar files

Per Bothner per@bothner.com
Fri Jul 6 22:53:00 GMT 2001


"Anthony Green" <green@redhat.com> writes:

> 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.

I don't think that is the right model.  I would rather have any
resource files etc from a .jar be compiled into the executable
(or shared library).  Our model is that gcj uses .so files where
jdk uses .jar files.  (At least at run time - we do use .jars
at compile time.)

Thus a resource file should be compiled to an initialized
byte array in a read-only data segment.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Java mailing list