Month: October 2016

How to fix Java language level error in Intellij?

October 6, 2016

Error:- java: strings in switch are not supported in -source 1.5  (use -source 7 or higher to enable strings in switch) Solution:-Why this error, as we are trying to access feature of java(in our case switch statements) using java 1.5 which is actually supported in higher version of java (7 in our case).IDE used is Intellij.Step1:-File > […]

Read More