J
John
Windows->Preferences->Java->Installed JREs that point to Java 5
directory, but some Java 5 syntax such as for-each loop (e.g. for
(String extension : extensions) ) still shows red marks with syntax
error. I checked Windows->Preferences->Java->Compiler->Compliance and
Classfiles, the maximum value of Compiler compliance level is 1.4. Is
that the reason?
I tried in Eclipse for Java 5 and works fine.
any ideas? please advise. thanks!!
directory, but some Java 5 syntax such as for-each loop (e.g. for
(String extension : extensions) ) still shows red marks with syntax
error. I checked Windows->Preferences->Java->Compiler->Compliance and
Classfiles, the maximum value of Compiler compliance level is 1.4. Is
that the reason?
I tried in Eclipse for Java 5 and works fine.
any ideas? please advise. thanks!!