How to deliver my Java application with a particular JRE?

前端 未结 9 1347
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 14:31

Does somebody know how to pack a particular JRE together with a compiled Java application? I currently have an executable jar file and wish to put JRE 6 Update 31 in it. So

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 15:20

    You can deploy it with java webstart which enables you to download a certain version of the jre if not present. I don't know if downgrading is possible, however. Java must be installed already, too.

提交回复
热议问题