开发者

Does the GNU Java compiler support JNA?

I want to write a java program that uses the Windows API and that compiles to nat开发者_开发知识库ive code instead of byte code.

I don't want using JNI (C, C++, ... interface) but instead want to write using pure java code and JNA.

Would the GNU Java compiler allow me to do this? Does the GNU Java compiler support use of JNA?


I believe that with the GNU Java compiler, one uses a different interface to link to native code, the CNI (Compiled Native Interface). CNI is related to JNI (Java Native Interface) framework (again, I believe).

Caveat: I have never used the GNU Java compiler nor CNI, but have used JNA and JNI.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜