Running java without installing jre?

后端 未结 8 1501
小蘑菇
小蘑菇 2020-11-27 16:52

As asked and answered here, python has a useful way of deployment without installers. Can Java do the same thing?

  • Is there any way to run Java\'s jar file wit
相关标签:
8条回答
  • 2020-11-27 17:51

    You might be able to get some luck with GCJ - haven't tried it myself.

    0 讨论(0)
  • 2020-11-27 17:55

    For creating native executables, you can use Excelsion Jet, which compiles Java to native code. We used it for a project at work, and we had to perform zero modification to the original source code (which targetted Sun's JDK).

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