Is there a Java library to access the native Windows API?

前端 未结 6 837
难免孤独
难免孤独 2020-11-28 11:13

Is there a Java library to access the native Windows API? Either with COM or JNI.

6条回答
  •  迷失自我
    2020-11-28 12:03

    One more option is WinRun4J. It has a native binding layer that aims to be compatible with pinvoke.net (the native binding format used in dot net). See examples for more information. Its a little early days so YMMV.

    (full disclosure: i work on the project).

    Yet another option is JFFI - this is used in jruby and jython to interact with native libraries.

提交回复
热议问题