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?
Asked
Active
Viewed 121 times
0
-
1I don't understand why this was closed. I see that it was marked as "not constructive," but how is it that this isn't? Other people might want to know how to update the JRE using their app to ensure everything will work, right? I'm not arguing, I just want a better understanding of how to ask better questions. – Steven Jan 02 '13 at 20:40
1 Answers
2
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'.

Community
- 1
- 1

Andrew Thompson
- 168,117
- 40
- 217
- 433