Should I use JAVA_HOME for OpenJDK's JDK or OpenJDK's JRE?
问题 In many recent situations, but right now I tried using a installer, that throws an error and says something along the lines of "Java not installed" even though the JAVA_HOME is set to the JDK installed by AdoptOpenJDK installer for Windows 10 64x. I couldn't find a way to fix it, anyways today I tried to install Netbeans 8.2 and it showed this error, but I found out you could pass an argument to the installer (--javahome ) then the error message changed from "JDK was not found (in your