This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: invoke GCJ .o files from C/C++ program


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]