Calling a Java function from C++ using CNI

Shaun Jackman sjackman@telus.net
Tue Aug 10 16:27:00 GMT 2004


I don't believe this is true. Since the Java source is compiled to
native code, there's no need to create a VM as there is no byte code
to interpret.
Cheers,
Shaun
> I am not that familiar with CNI, but surely you must
> initialise the Java runtime:
>> http://gcc.gnu.org/onlinedocs/gcj/Invocation.html
>> (See also the example at the bottom.)
>> Hope this helps,
> Ranjit.



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /