I am trying to upgrade my ant project from java 7 to java 8.
(the project deployed in \"Eclipse Kepler\" with \"Java™ 8 support to Eclipse Kepler SR2\")
This error usually comes when there is difference in the JDK version.Please check classpath, java -version and JAVA_HOME set in the environment variable.