Running java without installing jre?

后端 未结 8 1534
小蘑菇
小蘑菇 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:45

    You can use jlink to create your own customized jre which would contain only those dependencies which are needed for execution. This deployment method is really efficient. please follow **this**link for one such example.

提交回复
热议问题