
bat file breaks every time a new verion of Java is released. However, the paths are hardcoded and the. Set ANT_HOME=C:\Apps\Ant\apache-ant-1.7.1 Set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 BAT file to launch Ant on Micorosft Windows platforms. Is there a way to automatically determine the current location of the JDK so that it can be used to set the JAVA_HOME environment variable? 1.7K Training / Learning / Certification.165.3K Java EE (Java Enterprise Edition).7.8K Oracle Database Express Edition (XE).


3.7K Java and JavaScript in the Database.
