ant and java 8 - “major version 52 is newer than 51, the highest major version supported by this compiler”

前端 未结 4 2738
隐瞒了意图╮
隐瞒了意图╮ 2020-12-31 05:34

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\")

For that

4条回答
  •  星月不相逢
    2020-12-31 06:14

    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.

提交回复
热议问题