Setting up the development environment with NetBeans
This recipe will cover the steps required to install, run, and set up the project in NetBeans IDE. NetBeans is an open source IDE for developing, primarily in Java. It also has rich support for C++ and that makes it a good tool for OpenJDK development which uses both languages. This recipe uses NetBeans IDE v.7.
Getting ready
Download the latest version of the NetBeans All
bundle for your platform from http://www.netbeans.org/downloads. The All
bundle must have C/C++ and Java support in the same IDE. It is also necessary to have the OpenJDK code checked out and available on the machine.
Make sure that everything is set up for the OpenJDK build and it can be executed without errors. How to do that is described in Chapter 2, Building OpenJDK 6, Chapter 3, Building OpenJDK 7, and Chapter 4, Building OpenJDK 8.
How to do it...
We will install and configure the NetBeans IDE that is used in the OpenJDK project as the standard one.
First we need to...