How to create an exe file in java

前端 未结 6 1178
轻奢々
轻奢々 2020-12-09 06:58

Hi I want to create an exe file for my java app.

I tried with some third party softwares JEXECreator, successfully created the exe file and its working fine in my sy

6条回答
  •  一整个雨季
    2020-12-09 07:23

    Personally, I like JSmooth. That is just wrapping. This means it is still a Java application. When executing the exe, it will unpack the jar to a temporary folder and then execute it with javaw -jar ...

    A second option is gcj. But that is absolutely a bad choice. That doesn't wrap the jar in an exe, but it really compiles it to native system code. But this slows down your application very much. You can check some results of my timing on this topic.

提交回复
热议问题