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. Choose Run > Clean and Build Main Project or right-click any project and choose Clean and Build Project.

Number three
Run project
  1. If necessary, set the main class and arguments for the project.
  2. Choose Run > Run Main Project or right-click any project and choose Run Project.

Number three
Debug project
  1. Set breakpoints or watches in your code.
  2. Choose Run > Debug Main Project or right-click any project 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