View forum topicList of forum topics
Subject: JRE path
I do i know where jre installed at runtime.
I need to creaet a shortcut to java.exe but i need to know the absolute path in destination computer?
Insert the 'System Information' command at the beginning of the script. Specify there
Version of JRE: jver
Then insert the 'Registry - Get Value' command
Root: HKEY_LOCAL _MACHINE
Subkey: SOFTWARE\JavaSoft\Java Runtime Environment\#jver#
Value Name: JavaHome
Variable Name: javapath
Now, you can use #javapath#\bin as the path to java.exe.
tnx for response.
But, #jver# return empty only #jver_short# return-> 1.7
it's OK ?
Yes, I think it is ok.
We will fix the problem when #jver# empty and assign #jver_short# value in this case.
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.