<< Click to Display Table of Contents >> RayVentory Data Hub > 12.6 u5 > Installation Guide > Data Hub Agent > Configuration of the Java Environment Variable Java Binaries Lookup on Windows |
All lookup rules are defined in order. The higher the entry, the more priority it has.
1.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\Java Runtime Environment and look up the value CurrentVersion\JavaHome. If the value exists, check if the file bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
2.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\Java Runtime Environment and look up the value CurrentVersion\JavaHome. If the value exists, check if the file jre\bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
3.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\Java Development Kit and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
4.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\Java Development Kit and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file jre\bin\java.exe exists in that path. If the the check is positive, this is the java runtime to be used.
5.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\JDK and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
6.Check the 64-bit registry part HKLM\SOFTWARE\JavaSoft\JDK and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file jre\bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
7.Check the 64-bit registry part HKLM\SOFTWARE\Microsoft\JDK and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
8.Check the 64-bit registry part HKLM\SOFTWARE\Microsoft\JDK and look up the value <XXX>\JavaHome (where <XXX> is any iterated subkey). If the value exists, check if the file jre\bin\java.exe exists in that path. If the check is positive, this is the java runtime to be used.
9.Check if the file <KotlinDirectory>\bin\jre\java.exe exists. If the check is positive, this is the java runtime to be used.
10.Start cmd.exe /c where java and check its output. If it is a path and it exists, this is the java runtime to be used.