Is it possible to use Java to create dll?

前端 未结 9 1172
轮回少年
轮回少年 2021-02-07 23:42

Want to create animation dll for Window XP Is it ok to create Java2d animation and export as dll??

9条回答
  •  有刺的猬
    2021-02-08 00:11

    Yes, it is possible to generate DLLs from Java source code.

    2 Methods I have used:

    1. IKVM
    2. Graal

    IKVM is mature, but rather slow in runtime execution of the generated DLL.

    Graal is fast, but early days and immature in the Windows environment. See https://openjdk.java.net/jeps/295 for further info.

    There are other commercial options available as well.

提交回复
热议问题