ilaiyaraja
17th June 2013 10:08 UTC
How to get JRE version dynamically?
Function java
SetOutPath '$TEMP'
SetOverwrite on
File lib\jre-6u24-x64.exe
ExecWait '$TEMP\jre-6u24-x64.exe'
FunctionEnd
If the user change JRE version 24 to 29(jre-6u24-x64.exe changed to jre-6u29-x64.exe),the above code is not working.
Is possible to identify JRE version ? How to install dynamically install JRE?
jpderuiter
17th June 2013 10:39 UTC
I don't understand how the user does change the version (file)?
You provide the file with the "File lib\jre-6u24-x64.exe" command, so the user is not able to change it.
T.Slappy
19th June 2013 07:16 UTC
See this topic for detecting JRE version (from Registry): http://forums.winamp.com/showthread.php?t=363640