Using GCJ-compiled libraries via JNI?

John Moore gcj@jmsd.co.uk
Mon Oct 6 16:17:00 GMT 2003


This is tangentially related to a question I asked earlier. Given that the 
mix of interpreted Swing bytecode and native-compiled libraries does not 
seem feasible, is the following solution an alternative?

Is it possible to compile Java code to a library using GCJ, and then use 
that library from Sun's JVM via JNI? That would certainly be a way around 
my particular conundrum.

John
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003


More information about the Java mailing list