Home
Microsoft Windows Instructions

I. Download and Install Java JDK http://java.sun.com/javase/downloads/widget/jdk6.jsp

II. Install Cygwin
  1. Download the cygwin-netbeans.zip I created from: http://www2.cs.uidaho.edu/~ball7126/netbeans/cygwin-netbeans.zip
  2. Unzip the file and run the install
  3. Select “Install from Local Directory”
  4. Install to “C:\cygwin” (all users)
  5. Local Package Directory is where you unzipped the cygwin-netbeans.zip (should default to that location)
  6. Click the double arrows next to "Devel" until the word “install” appears next to it
  7. Install
III. Download and Install Netbeans 6.8 (select full version) http://netbeans.org/downloads/index.html
Note: you should remove all servers from the install list by clicking "customize" and removing them. (i.e.: glassfish… etc)

IV. Open Netbeans and make a new C++ application (this will activate the C/C++ package in Netbeans)

V. Configure Netbeans to use Cygwin binaries
  1. 1. Tools -> Options -> C/C++
  2. 2. Under “Build Tools” click “Add…”
  3. 3. Select “C:\cygwin\bin” as the “Base Directory”
  4. 4. Click OK
VI. Open the main.cpp file created under %your new project%\Source Files\main.cpp (modify it if you wish)

VII. Compile your project by pressing F6 or the Green Arrow on the tool bar.