简体   繁体   English

更新捆绑的JRE

[英]Updating a bundled JRE

I'm wanting to bundle my application with a JRE, much in the manner explained in this question , or further explained in this blog . 我想将我的应用程序与JRE捆绑在一起,其方式与本问题中说明的方式或本博客中进一步说明的方式相同。

Once you have bundled your JRE into your application is there a way to provide updates to that JRE? 将JRE捆绑到应用程序后,是否可以提供对该JRE的更新?

Most obvious answer is: You can provide JRE updates with your software updates , ie new SFX. 最明显的答案是: 您可以在软件更新 (即新的SFX)中提供JRE更新 You can also write a script which will handle contents of archive, but is seems too messy for me. 您也可以编写一个脚本来处理存档的内容,但是对我来说似乎太混乱了。 Of course it depends of whether application extracts JRE each time you want to run it OR just once and then checks: if it had been extracted before then launch extracted app or extract and launch newly extracted app. 当然,这取决于应用是否提取JRE要运行它, 还是一次,然后检查每个时间:如果它之前被提取出来,然后启动提取应用或提取,并推出新提取的应用程序。 In first case you can provide updates pretty easily. 在第一种情况下,您可以轻松提供更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM