NetBeans is available at the following URL: http://www.netbeans.org/
The download page for the IDE is located at: http://www.netbeans.org/downloads/index.html
NetBeans is available for both Windows and Mac; we are using NetBeans IDE Release 3.5.1. When you select your download from the list under "English installers", be sure to select the version for your particular operating system (Mac OS X, Windows, etc )
Note for PC Users: If you prefer to download both JDK and NetBeans together, the link is at http://java.sun.com/j2se/1.4.2/download.html.Choose the option under the highlighted blue box, where you see Download
J2SE v 1.4.2_04 SDK with NetBeans 3.6 Bundle, which downloads them together.If you prefer to install JDK and NetBeans separately, first install JDK from http://java.sun.com/j2se/1.4.2/download.html and then install Net Beans from http://www.netbeans.org/downloads/index.html
Note for Mac OS X Users: You do not need to install JDK as it is included already in OS X; you only need NetBeans! Go to directly to the NetBeans download page; and select OS X. Note that your download file must have a suffix of .dmg ; some students have downloaded the file and found it with a suffix of only ".d"; once the file was renamed with a suffix of ".dmg", it installed successfully.
Getting Started: writing and running programs
File
New Template
Java Classes
Empty Java File
next
Name your file at the top of the screen.
Select the directory.
Finish.
Adding line numbers to your screen:
Tools
Options
Editing
Editor Settings
Java Editor
Set "Line Numbers" on and any other features you need
Writing your programs:
Note: if you receive an error that source code is missing when stepping through with F7 or F8, you may select
Stop at First Line with Source
which will continue running the program with your source code.
1. Select View / Execution view (or CTRL-6).
2. Then select the Process; right-click; and terminate.
Troubleshooting (General):
Troubleshooting (Mac):