Installation On windows
Before installing the IDE - ( Net beans ) , and the project itself , you should
- Install a c++ compiler and debugger and make
- Check if java JRE is installed on your machine and installed it otherwise.
- Install Netbeans from www.netbeans.org
Or 2’- Install the bundle netbeans + jdk from oracle site : http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
4-Download the source files and create a project.
Part I : Install the gcc and gdb and make:
First I recommend MinGW instead of Cgwin .
**To check if it’s installed
- type cmd in the Run command
- In the Command prompt opened type the following command “g++- v “ if you don’t get an error that means it’s installed you don’t need to install the c++ compiler
- In the Command prompt opened type the following command “make –v” if you don’t get an error that means it’s installed you don’t need to install the MSYS.
If you want to install it the hard way / manually follow this link : http://www.mingw.org/wiki/InstallationHOWTOforMinGW
If not do the simple way and use the installer :
1. Download the latest version
2. Choose the default settings till you arrive the check list
3. You should check from the chck list C++ compiler ( g++ ) and ) and the developer kit that includes MSYS ( make)
4. Update : the Path
4.1. Right-click on "My Computer" and select "Properties".
4.2. Click Advanced -> Environment Variables. (Avancé -> variables d’environnement)
4.3. In the box entitled "System Variables" scroll down to the line that says "PATH" and double-click the entry.
4.4. You will be presented with a dialog box with two text boxes, the bottom text box allows you to edit the PATH variable. It is very important that you do not delete the existing values in the PATH string, this will cause all sorts of problems for you!
4.5. Scroll to the end of the string and at the end add ;C:\MinGW\bin;C:\MinGW\MSYS\1.0\bin; (if you kept to the recommended default installation directory). Don't forget the semicolon; this separates the entries in the PATH.
4.6. press OK -> OK -> OK and you are done.
5. After the installation open and new cmd and check if g++ and make are installed ( see above the ** section)
Part 2 : JDK / JRE (Check the option part 2’)
First JRE , stands for java run time environment , and if you are using the new terminology of oraclem it’s called “ java 6 “
To check if it’s installed
- type cmd in the Run command
- In the Command prompt opened type java- version
You should get the version of your java runtime,
if not go to ( http://www.java.com/en/download/help/index.xml or http://www.java.com/en/download/manual.jsp#win :) and install it ( I recommend also to install the JDK / SDK ( stands for java development kit : ) , if you are planning to develop java programs , you ll only loose some disk storage space.-
Part 3: Install Netbeans
Download the netbeans from the following link
Of course choose either the full version or the C++ version.
Part 2’ : Install the the bundles JDK+netbeans :
Oracle now, on their site they offer a bundle of jdk + netbeans ( but in this version usually you should install the C++ plugings )
- Go to the following link and download the bundle at : http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
- Once installed , got the tools menu and then go to plugins
- If C/C++ does not figure in the installed tab , go the available plugins tab and check the C/C++ plugins and then install .
Part 4: Create and install the project