1

I'm wanting to bundle my application with a JRE, much in the manner explained in this question, or further explained in this blog.

Once you have bundled your JRE into your application is there a way to provide updates to that JRE?

Community
  • 1
  • 1
Tim Sparg
  • 3,294
  • 2
  • 27
  • 40
  • Bundling a JRE & getting it to update seem to be mutually opposed strategies. If you want an auto-updated JRE, launch the app. using JWS (and specify `n.n+` in the version string). – Andrew Thompson Mar 13 '12 at 17:20
  • @Andrew Thompson JWS would be an option, except that the application will be deployed to intranets with very limited internet connectivity. The need for bundling the JRE is to insulate the application from other applications that are installed and make changes to the system JRE (upgrades are generally fine, but downgrades tend to be an issue...) – Tim Sparg Mar 13 '12 at 18:02

1 Answers1

0

Most obvious answer is: You can provide JRE updates with your software updates, i.e. new SFX. 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. In first case you can provide updates pretty easily.

Aleksandr Kravets
  • 5,750
  • 7
  • 53
  • 72