DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    1

    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
    Posts
    1

    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

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links