将Java程序制作为独立的exe(无需JVM运行)

2022-01-16 00:00:00 exe jvm java

有没有办法让Java程序成为独立的exe(不带JVM运行)?

Is there any way to make Java program as independent exe (run without JVM)?

推荐答案

我用过 Excelsior JET 将我的 Java 编译成 Windows 上的本机可执行文件.它工作得很好.陷阱总是有机会的——我认为 JNI 是个问题——但我很高兴.

I've used Excelsior JET to compile my Java into a native executable file on Windows. It worked real well. There are always opportunities for gotchas - I think JNI is a problem - but I was pretty happy.

相关文章