Newbie
Andrew Haley
aph@redhat.com
Mon Oct 14 09:51:00 GMT 2002
=?ISO-8859-1?Q?Lo=EFc=5FP=E9ron?= writes:
> Quoting Andrew Haley <aph@redhat.com>:
>
> > You can also call Java's class loader from compiled native code to
> > load and run interpreted Java code .
>
> > You don't link the compiled code with the bytecode. You just use a
> > class loader at runtime to read in the class files.
>
> So I have to write a little loader to be compiled as native code which
> creates the appropriate classloader for running bytecode from mar jar
> libraries, as is done when using sun's java -jar on an executable jar
> including correct main-class and class-path.
No. That's what gij does.
Andrew.
More information about the Java
mailing list