Today I've started to get this warning in the console, when I try to compile my programs with javac:
warning: Blabla.class: major version 52 is newer than 51, the highest major version supported by this compiler.
it is recommended that the compiler be upgraded.
But how can I do that?
PS. command javac -version returns 1.7.0_85, while java -version returns 1.8.0_66. I do not know how this mixture has happened.