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

前端 未结 4 2724
隐瞒了意图╮
隐瞒了意图╮ 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 05:58

    Make sure to add JAVA_HOME in the Classpath variables: Window->Java->Build Path->Classpath variables point to "path/to/jdk"

提交回复
热议问题