Sometimes we may get error while running ANT scripts . The same ANT script is running in one machine and not on another machine. The error will be just NULL. If we look at the logs sometime the log will say Error says user JDK instead of JRE.
This is due to the java version mismatch between two systems.
Try to set the JAVA_HOME and PATH variable on the command prompt and then execute the ant task.
The java versions must match
This is due to the java version mismatch between two systems.
Try to set the JAVA_HOME and PATH variable on the command prompt and then execute the ant task.
The java versions must match
No comments:
Post a Comment