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>:
 > 
 > >  > So I have to write a little loader to be compiled as native
 > >  > code which creates the appropriate classloader for running
 > >  > bytecode from my 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.
 > 
 > Well, what I want to achive is a win32 stand alone java-written
 > application using bytecode libraries and a native launcher that
 > does not rely on anything else than it's own binary libraries.

gcj will allow you to write something like that.  If you look at the
source code for gij you should be able to figure out how to do it.

However, be aware that gcj's interpreter is slower than many, so you
may not get the eperformance you need.

Andrew.


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