Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Usage of API documented as @since1.6+

I keep getting this error even though I have a 1.6+ version (I have 1.8), and i'm working with IntelliJ.

P.S. I have tried to update both, java jre and java jdk, didn't help!

like image 574
Omayer Gharra Avatar asked Jul 24 '16 12:07

Omayer Gharra


1 Answers

File > Project Structure > Project Settings > Modules > your Module name > Sources > Language Level > choose the one which you need.

enter image description here

like image 167
hexsmith Avatar answered Sep 21 '22 14:09

hexsmith