Is there any way to compile Java code into a DLL?

前端 未结 3 1203
遇见更好的自我
遇见更好的自我 2020-12-05 10:17

See question above.

相关标签:
3条回答
  • 2020-12-05 11:10

    Yes, use IKVM.

    http://www.ikvm.net/

    And it's incredibly easy to use:

    ikvmc myjar.jar
    

    outputs myjar.dll

    0 讨论(0)
  • 2020-12-05 11:12

    There is also gcj which will compile classes into native format.

    0 讨论(0)
  • 2020-12-05 11:17

    It is better to create a c++ loader which

    1)Hides the console

    2)runs your application

    0 讨论(0)
提交回复
热议问题