Link java object files into cpp app

Lars Andersen lars@jatak.com
Sat Feb 16 13:00:00 GMT 2002


Hi!

I have compiled some java-files into object-files using gcj.
I have also generated headerfiles for each of my java-classes using gcjh.

Now i want to call a static java method from a c++ source, and link it 
all together.

Can CNI or JNI be used for this purpose?
Is there any examples you may direct me to?

Thanks
Lars Andersen




More information about the Java mailing list