Working with Java Projects
The following table shows how to work with Java projects.
Create and configure project
Create the project using
the best template
for your programming needs.
Configure the classpath
for the project. You can add a JAR file, a
library
, or
an IDE project
to the classpath.
Build project
Choose Build >
Build Main Project
or right-click any project and choose Build Project.
Run project
If necessary,
set the main class and arguments
for the project.
Choose Run >
Run Main Project
or right-click any project and choose Run Project.
Debug project
Set
breakpoints
or
watches
in your code.
Choose Run >
Debug Main Project
or right-click any project and choose Debug Project. You can also
attach the debugger to a running process
.
Step through the program execution
.
Choose Run >
Finish Debugging Session
when you are finished debugging.
Legal Notices