DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004

    JBuilder Configuration for JDK 1.5

    Hi all. I am writting code in Java 1.5.0 and I am trying to do it with JBuilder 2005 Foundation. I think I successfully configured the default JDK and the project properties to go to jdk 1.5, but when I try to use generics in the text editor I get a message that says generics not supported in - source 1.2 (try -source 1.5). Project properties says java version 1.5.0-b64 for JDK. I went to tools menu and selected configure JDKs and that says java version 1.5.0-b64 with path C:/jdk1.5.0. What am I missing? I would really prefer to use JBuilder over other IDEs, but I am at a loss as to how to get it to not show the use of generics as an error. Does anyone know what option(s) I need to change and how to change them?

    private Vector<Student> students; // using a generic

    generics are not supported in -source 1.2 (try -source 1.5 to enable generics) at line 17 (17:16)

  2. #2
    Join Date
    Jul 2005

    Thumbs down jdeveloper generics

    go to project properties

    Build, java, extended options

    and click show unchecked generics.

    That's the only way I could get it to work.

    I thrashed for 45 minutes while waiting for Borland's support to answer.

    Let me know if it works for you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.