Java 5 doesn't work in WSAD v5.12 ? - Websphere

This is a discussion on Java 5 doesn't work in WSAD v5.12 ? - Websphere ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Java 5 doesn't work in WSAD v5.12 ?

  1. Java 5 doesn't work in WSAD v5.12 ?

    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!!


  2. Re: Java 5 doesn't work in WSAD v5.12 ?

    Upgrade to the next version of RAD when it's released. Eclipse 2 will
    never support Java 5.

    John wrote:
    > 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!!
    >


+ Reply to Thread