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 ...
$ mvn The JAVA_HOME environment variable is not defined correctly, this environment variable is needed to run this program.
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