This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Link java object files into cpp app
- From: Lars Andersen <lars at jatak dot com>
- To: java at gcc dot gnu dot org
- Date: Sat, 16 Feb 2002 16:48:11 +0100
- Subject: Link java object files into cpp app
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