I\'m trying to compile my project in IntelliJ idea. I\'m using a class in an external jar file and on compilation receiving the above error.
I understand that it\'s
It means your Java runtime version is 1.8, but your compiler version (javac) is 1.6. To simply solve it, just retreat the Java version from 1.8 to 1.6.
But if you don't want to change the Java runtime version, then do the following steps: