View forum topic
List of forum topicsSubject: JRE path
Hi.
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?
tnx
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.
Hi.
tnx for response.
But, #jver# return empty only #jver_short# return-> 1.7
it's OK ?
tnx
Yes, I think it is ok.
We will fix the problem when #jver# empty and assign #jver_short# value in this case.
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released. read more
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.
February 05, 2021 Installer CreateInstall 8.8.0 was released.
April 11, 2020 Installer CreateInstall 8.7.0 was released.