This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Dynamic class loading also with compilied objects?
- From: Linuxhippy <linuxhippy at web dot de>
- To: java at gcc dot gnu dot org
- Date: Sun, 24 Nov 2002 22:43:36 +0100
- Subject: Dynamic class loading also with compilied objects?
Hi there!
Is it possible to load complied java (object-files) with gcj-compilied
programs.
The FAQ says, that its possible to load and interpret class-files
dynamically but is this also possible with already compilied classes?
thx Linuxhippy
PS: This static-linking failure makes me going postal. Why cant I do
this: gcj -o test myclass.java mylib.so --main=maclass -static
The executable always crashes with segfault. My mylib.so uses JNI, even
static libraries (*.a) dont work. But both static and *.so libs work,
when I only compile a simple hello-world app...
Please help me, I like GCJ so much, but this is really necessary for
distributing my (GNU)-App....