This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]