The extension calls the Ant batch file resp. shell script for parsing or executing the Ant scripts. The batch/shell uses the environment variable JAVA_HOME to resolve the location of the JRE/JDK, or JAVACMD to resolve the location of java.exe, if both env vars are unset, it falls back to java.exe resolving from environment variable PATH
As I don't set these variables in the common environment also don't add Java to PATH (as need to support different versions of Java Runtime and need to switch easily between them), I would appreciate a setting for the Java home location of Java cmd location in the extension settings that is passed to the ant batch/shell before invoking it.
The extension calls the Ant batch file resp. shell script for parsing or executing the Ant scripts. The batch/shell uses the environment variable
JAVA_HOME
to resolve the location of the JRE/JDK, orJAVACMD
to resolve the location ofjava.exe
, if both env vars are unset, it falls back tojava.exe
resolving from environment variablePATH
As I don't set these variables in the common environment also don't add Java toPATH
(as need to support different versions of Java Runtime and need to switch easily between them), I would appreciate a setting for the Java home location of Java cmd location in the extension settings that is passed to the ant batch/shell before invoking it.