OpenMake Meister

Environment Variables Needed for Java Builds

 

The JAVACMD environment variable should not be set, since it may prevent Ant from executing correctly.

 

If you have multiple Java compilers installed on your machine, the JAVA_HOME variable should be set to the specific Java compiler that you need for your build. This Environment Variable points to the Java Development Kit installation.  For example, if javac.exe is in C:\jdk1.4.1\bin, JAVA_HOME should be set as follows:

 

JAVA_HOME=C:\jdk1.4.1

 

If you are not using the Java Development Kit from Sun or IBM, you must still set this variable to a Java Runtime location in order for Ant to run.  Many tools operating at the command line on Windows and UNIX, including Ant, commonly use this environment variable.