the script always echo 'java' should be on the PATH or JAVA_HOME must point to a valid JDK installation. so I echo "%JAVA_BIN%" everywhere and it was not changed ...
[@FroMage] JAVA_HOME is only considered on Windows if the registry failed to find Java, but it should be the other way around and JAVA_HOME should override the registry which we should only query if ...
I'm writing a simple script that will allow me to switch jdks easily so I have JAVA_HOME in my .profile set to something initailly and then I want to run the script so that it changes teh JAVA_HOME to ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results