How can I enable for-each loop in Creator update 1?

I try to use for-each loop, but I got error message from compiler is

" for-each loops are not supported in -source 1.4. (try -source 1.5 to enable for-each loops)"

How can I switch my source to 1.5.. I am using jdk 1.5. Confusing.

Thanks .

Richard

[279 byte] By [zhangrja] at [2007-11-27 10:17:54]
# 1

Hi!

Actually Sun Java Studio Creator doesn't support Java EE 5 projects. If You want to create Java EE 5 project, try to use NetBeans with Visual Web Pack installed.

Thanks,

Roman.

-Grif-a at 2007-7-28 15:54:23 > top of Java-index,Development Tools,Java Tools...