Introduction to Computers and Programming

V22.0002 - Spring, 2005

Instructions for using NetBeans IDE (v. 3.6 and 4.0)

Installation || Version 3.6 || Version 4.0 || Troubleshooting


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.6 / 4.0. 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.5.0/download.jsp.Choose the option under the highlighted blue box, where you see Download
JDK 5.1 Update 1 with NetBeans 4.0 Bundle
, which downloads them together.

If you prefer to install JDK and NetBeans separately, first install JDK from http://java.sun.com/j2se/1.5.0/download.jsp 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 (v. 3.6)

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: ( v.3.6)

Tools
Options
Editing
Editor Settings
Java Editor
Set "Line Numbers" on and any other features you need

Writing your programs: (v. 3.6)

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.


Getting Started: writing and running programs (v. 4.0)

First time in ... FILE / NEW PROJECT / Java Classes Library ... then:

File
New File
Java Classes
Empty Java File
next

Name your file at the top of the screen.
Finish.

Adding line numbers to your screen: ( v.4.0)

View
Line Numbers

Writing your programs: (v. 4.0)


Troubleshooting (General):

Troubleshooting (Mac):