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
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
/Library/Java/Extensions