how to set IDEA debug with jdk5.0

when i test the enhance for iterate.IDEA give me an error message:for-each loops are not supported in -source1.3,try -source 1.5 to enable for-each loops.


please help me.i am a beginner of java.thank you !!

0
Avatar
Permanently deleted user

Set Settings|Paths|Language level to 5.0

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

when i test the enhance for iterate.IDEA give me an error
message:for-each loops are not supported in -source1.3,try -source 1.5
to enable for-each loops.

please help me.i am a beginner of java.thank you !!




0
Avatar
Permanently deleted user

Maxim Shafirov thank you very much!

0

请先登录再写评论。