简体   繁体   中英

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

见上面的问题。

Yes, use IKVM.

http://www.ikvm.net/

And it's incredibly easy to use:

ikvmc myjar.jar

outputs myjar.dll

还有gcj将类编译为本机格式。

It is better to create a c++ loader which

1)Hides the console

2)runs your application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM