UnsupportedClassVersionError on running play application with JDK 1.7

后端 未结 6 1927
青春惊慌失措
青春惊慌失措 2020-12-24 05:40

Just now started learning Play framework for my project requirement and my project only build on JDK 1.7 so I have downloaded Play 2.3.9 ve

6条回答
  •  一向
    一向 (楼主)
    2020-12-24 06:14

    Although it seemed I was using the same version for java and javac:

    • java -version java version "1.8.0_51"
    • javac -version javac 1.8.0_51

    My problem was (Linux Mint 17.1) that I had installed oracle-java7 and oracle-java8 so somewhere there must be a misconfiguration.

    I uninstalled oracle-java7 and everything worked fine to me.

提交回复
热议问题