This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Using GCJ-compiled libraries via JNI?
- From: John Moore <gcj at jmsd dot co dot uk>
- To: java at gcc dot gnu dot org
- Date: Mon, 06 Oct 2003 17:14:26 +0100
- Subject: Using GCJ-compiled libraries via JNI?
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
---
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