Reputation: 1809
I was looking around and couldn't find this anywhere, but is there any way to update the JRE through a java application and then to restart said application using the new JRE?
Upvotes: 0
Views: 126
Reputation: 168815
Updating the JRE from within a running Java app. is not something that is commonly done.
Instead look to deployJava.js
for ensuring a particular major version of Java is installed, and Java Web Start for ensuring a particular micro-version is available.
These technologies are both related to launching rich clients (applets and desktop apps.) so if the app. has a GUI as mentioned here it should be 'all systems go'.
Upvotes: 2