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!!
Ray McVay - 15 Jun 2006 03:54 GMT
Upgrade to the next version of RAD when it's released. Eclipse 2 will
never support Java 5.
> Windows->Preferences->Java->Installed JREs that point to Java 5
> directory, but some Java 5 syntax such as for-each loop (e.g. for
[quoted text clipped - 6 lines]
>
> any ideas? please advise. thanks!!