Working with Java Projects

The following table shows how to work with Java projects.
Number one
Create and configure project
  1. Create the project using the best template for your programming needs.
  2. Configure the classpath for the project. You can add a JAR file, a library, or an IDE project to the classpath.

Number two
Build project

  1. Set the project as the main project and choose Run > Build Main Project (F11) or right-click the project node in the Projects window and choose Build Project.

Number three
Run project
  1. If necessary, set the main class and arguments for the project.
  2. Set the project as the main project and choose Run > Run Main Project from the main menu or right-click the project node in the Projects window and choose Run Project.

Number three
Debug project
  1. Set breakpoints or watches in your code.
  2. Set the project as the main project and choose Debug > Debug Main Project from the main menu or right-click the project in the Projects window and choose Debug Project. You can also attach the debugger to a running process.
  3. Step through the program execution.
  4. Choose Run > Finish Debugging Session when you are finished debugging.

Legal Notices