This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

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



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