Results 1 to 2 of 2
  1. #1
    yma16 is offline Member
    Join Date
    Apr 2011
    Posts
    52
    Rep Power
    0

    Default IDEA 10 give me compiler errors

    Hi All,

    On my PC, I have a java project. It works with Textpad and IDEA 5.1. I just got IDEA 10 and it gives me 5 same errors, saying

    ../Stack.java:22: generics are not supported in -source 1.3
    (use -source 5 or higher to enable generics)

    All above are on the same PC. I do not have javac from Java 1.3, only from Java 6.

    How can I fix the problem?

    Thank you very much.

  2. #2
    yma16 is offline Member
    Join Date
    Apr 2011
    Posts
    52
    Rep Power
    0

    Default

    I fixed it by choosing 8 instead of 1.3 of java compiler in IDEA10.

Similar Threads

  1. Replies: 0
    Last Post: 03-21-2011, 09:46 AM
  2. Replies: 4
    Last Post: 01-04-2011, 12:36 AM
  3. Replies: 3
    Last Post: 03-08-2009, 01:51 AM
  4. compiler,JIT compiler & interpreter
    By gamilah in forum New To Java
    Replies: 4
    Last Post: 11-04-2008, 12:32 AM
  5. anyone can give idea 2 my assignment?
    By chen8735 in forum Advanced Java
    Replies: 2
    Last Post: 03-08-2008, 06:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •