invoke GCJ .o files from C/C++ program
Bryce McKinlay
bryce@albatross.co.nz
Wed Jul 5 16:34:00 GMT 2000
Cecilia Vy-Ai Le wrote:
> I have just started to work on Java/GCJ/LIBGCJ since
> June.
> I build a static library which 'ar' all object files
> generated by: gcj -c javafiles.java
> Now, I am try to invoke this library from my C/C++
> main program.
Using CNI, you can't currently invoke java code from a C++ program using
CNI. This is a rather annoying deficiency and something that has been on
the todo list of things to fix for a while. I don't know the status of
JNI invocation support, but I suspect it may be incomplete as well.
regards
[ bryce ]
More information about the Java
mailing list