Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using NetBeans 3.6 with Java 5.0

 
Mike Gershman
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mike Gershman
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but where??
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, we've reached the point where vague suggestions won't help. Now we need a NetBeans guru!
 
Mike Gershman
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone tell me exactly where I could ask this question?

I tried to use www.netbeans.org and got no response.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
Maybe in Sun's Q & A board?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic