Compiling jar file using gcj

Tom Tromey tromey@redhat.com
Tue Sep 1 15:45:00 GMT 2009


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o

Andrew> I'll say again
Andrew> "a chunk of native code seems to be missing"
Andrew> The RXTXcomm package contains native code.  You have to link it to your
Andrew> main program.

He probably wants -fjni in the compile commands.

Tom



More information about the Java mailing list