How to Upgrade a NetBeans Project to JDK 6

thrillukrainianΛογισμικό & κατασκευή λογ/κού

7 Ιουν 2012 (πριν από 5 χρόνια και 3 μήνες)

327 εμφανίσεις

How to Upgrade a NetBeans Project to JDK 6
Author:
Josh VanderLinden <codekoala@gmail.com>
Date:
13 Dec 2006
Homepage:
http://www.codekoala.com/
URL:
http://www.codekoala.com/blog/2006/dec/13/how-upgrade-netbeans-project-jdk-6/
NOTE: I am currently using NetBeans 5.5.
Here are the simple steps:
1.
Download and install JDK 6 if you haven't already
2.
Add the JDK 6 platform to NetBeans
1.
Tools > Java Platform Manager
2.
Add Platform
3.
Navigate to JDK 6's installation root directory. It will probably have a fancy overlay icon over it.
4.
Click Next
5.
Give the platform a name and continue onward
3.
Open a project in NetBeans
4.
Right-click on the project and open its properties
5.
Open the Libraries item on the left
6.
Change the Java Platform to your new 1.6
7.
Open the Sources item on the left
8.
Change the source level at the bottom to 1.6
9.
Enjoy!
There really are quite a few nice features in this release. So far I've found time to play with the built-in
JTable sorting methods and the system tray icon stuff. It's so much easier than it used to be!!
Copyright (c) 2006 Josh VanderLinden
page 1