RSS Entries RSS
RSS Subscribe by Email

Change the NetBeans Default JDK

A client sent me some code today to update. He was using the NetBeans, so I downloaded the IDE and fired it up to open the project he’d sent me. Unfortunately, the project wouldn’t compile because he’d written the code in Java 6 while NetBeans was using Java 5. I couldn’t find a NetBeans menu to update the setting, but rather found that the fix is to add the following in NetBean’s etc/netbeans.conf file:

# Default location of JDK, can be overridden by using –jdkhome <dir>:
netbeans_jdkhome=”C:\Program Files\Java\jdk1.6.0_05″

Buy Me a Beer

Share and Enjoy:
  • description
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Furl
  • Slashdot
  • Digg
  • Google
  • Technorati
  • Facebook

Tags:

RSS feed for comments on this post · TrackBack URL

Leave a Comment