After upgrading to Java8, javac still shows 1.7

前端 未结 6 2131
一生所求
一生所求 2020-12-13 06:43

I\'m having issues upgrading from JDK 1.7 -> 1.8 on OSX. The upgrade has completed, but javac still returns 1.7 as the version.

I\'ve downloaded JDK 8_u5 from Oracl

6条回答
  •  天涯浪人
    2020-12-13 07:27

    Maybe you can delete the standard .jar file which in your classpath. When i delete the jar in /Library/Java/Extensions, the problem will be solved. More info : Java compilation error: Mac

提交回复
热议问题