facebook

parameterized types are only available if source level is1.5

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #304327 Reply

    Vu Tran
    Participant

    Hello:

    I got this error when trying to compile a project and encounter these error on many source file:

    Syntax error, parameterized types are only available if source level is1.5

    I did try to install jdk1.51.5.0_22 and used this run time environment and still have the same problem.

    Any help with this is very appreciated.

    Thanks,
    Vu Tran

    #304339

    support-joy
    Member

    Vu Tran,

    Syntax error, parameterized types are only available if source level is1.5

    You have syntax error in your code. Can you look into your problems tab and see if it reports any errors? If yes, double click on the same, it will take you to the file and point to the line in question which has syntax error.

    #304362

    Vu Tran
    Participant

    Thanks Joy:

    I found the problem was that the compiler level was set to 1.4. I just change it to 1.5 then it solve the problem.

    Vu Tran

    #304399

    support-joy
    Member

    Vu Tran,

    Good to hear you are all set. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: parameterized types are only available if source level is1.5

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in