Resources in natively compiled executables

Tom Tromey tromey@redhat.com
Wed Apr 14 14:45:00 GMT 2004


>>>>> "Chris" == Chris Burdess <dog@bluezoo.org> writes:

Chris> All is well when building a jarfile. However, when our target is a
Chris> native executable, there is currently (AFAIK) no way for gcj to be
Chris> informed of these resources and package them into the executable in
Chris> such a way as to be accessible via the above methods.

Look at the `--resource' option.  This lets you compile in a file as a
resource.  It is available via the special `core:' URL handler;
`core:/' is put on the class path by default.  I think all the methods
you mention will work fine with core resources.

Tom



More information about the Java mailing list