It's not a secret anymore!*
The moose likes IDEs, Version Control and other tools and the fly likes Using NetBeans 3.6 with Java 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Using NetBeans 3.6 with Java 5.0" Watch "Using NetBeans 3.6 with Java 5.0" New topic
Author

Using NetBeans 3.6 with Java 5.0

Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
I am using NetBeans 3.6 with Java 5.0.

My programs compile and execute OK. The problem is that the contextual checking in the editor is using jdk 1.4.2 information for error checking and prompts. How do I get NetBeans to use the jdk 1.5.0 information?

PS: java.util.Scanner and System.out.printf really rock!


Mike Gershman
SCJP 1.4, SCWCD in process
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29259
    
140

Mike,
According to an article on the Netbean's site, there isn't 100% support for 1.5. In particular, you have to turn off background error checking.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
Hi Jeanne:

Turning off background error checking applies to new java syntax, like generics.

I just want to use the 1.5.0 javadoc instead of the 1.4.2 stuff, but I can't find the right option to control which javadoc is used.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29259
    
140

Mike,
Oh! I don't use NetBeans, so I'm only guessing. Maybe it is still pointing to the 1.4 JDK somewhere?
Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
Yes, but where??
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29259
    
140

Well, we've reached the point where vague suggestions won't help. Now we need a NetBeans guru!
Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
Could someone tell me exactly where I could ask this question?

I tried to use www.netbeans.org and got no response.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29259
    
140

Mike,
Maybe in Sun's Q & A board?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using NetBeans 3.6 with Java 5.0
 
Similar Threads
JDK and Java2 Platform
error when using db2 database for java application
Tiger and NetBeans?
Variable Example
Does Java TimeZone takes care of daylight savings?