Closed ethauvin closed 6 years ago
The problem was that getting javaHome always return the value of _javaHome, so trying to set it is useless:
javaHome
_javaHome
override var javaHome: File? = null get() = _javaHome!!
To test with the previous version, simply set your JAVA_HOME to a JRE instead of JDK location. Tools.jar will not be found. For example:
export JAVA_HOME="C:\Program Files\Java\jre1.8.0_151"
The problem was that getting
javaHome
always return the value of_javaHome
, so trying to set it is useless:To test with the previous version, simply set your JAVA_HOME to a JRE instead of JDK location. Tools.jar will not be found. For example: