tailor
tailor copied to clipboard
Windows: Only checking for the registry entry might not be a valid way to check if Java is installed.
Tailor Version: v0.12.0 Platform (Mac/Linux/Windows/CI): Windows Installation Method: Powershell Script
I have installed java version "11.0.4" 2019-07-16 LTS
on my Windows 10 machine and correctly set the JAVA_HOME
environment variable.
The HKLM:\SOFTWARE\JavaSoft\Java Runtime Environment
does not exist on my machine, thus trying to install resolved in an error. There's a HKLM:\SOFTWARE\JavaSoft\JDK\11
though. Commenting the verify-java()
function in the .ps1
script installs tailor
successfully.
Maybe checking for which java
or something similar is better than checking for the registry entry.