Wednesday, June 27, 2018

How to run ANT with a lower Java Version than installed

ANT Refer to the Java version mentioned in JAVA_HOME path in system Environment Variables.

In a Scenario where you have to run ANT with JDK 1.7 while Java 8 is installed in the system.

Update JAVA_HOME to the JDK1.7 Path and execute the ANT Command.

No comments: