Home
Microsoft Windows Instructions
I. Download and Install Java JDK
http://java.sun.com/javase/downloads/widget/jdk6.jsp
II. Install Cygwin
- Download the cygwin-netbeans.zip I created from:
http://www2.cs.uidaho.edu/~ball7126/netbeans/cygwin-netbeans.zip
- Unzip the file and run the install
- Select “Install from Local Directory”
- Install to “C:\cygwin” (all users)
- Local Package Directory is where you unzipped the cygwin-netbeans.zip (should default to that location)
- Click the double arrows next to "Devel" until the word “install” appears next to it
- 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. Tools -> Options -> C/C++
- 2. Under “Build Tools” click “Add…”
- 3. Select “C:\cygwin\bin” as the “Base Directory”
- 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.