á Download and install DrJava.
á Decide where you will keep your work and define two folders/directories, one for the project workspace and one for the libraries you will use. We will name them DrJavaWorkspace and DrJavaJars.
á Start DrJava. The workspace looks like this.

á Now create new project. Give a new name to each project, save each project in a new folder within the DrJavaWorkspace directory. In the Project menu select New.

á Click on the New Folder button, give the name to your project and hit Create. Back in the new project menu type in Project1 in the Save As field, then select Save.

á Copy the Examples.java file into the big pane labeled Untitled. In File menu select Save As, then navigate to the Project1 directory and save the file as Examples.java.
á Next, tell the DrJava where to find the tester library. In Project menu select Properties.

á In the Extra Classpath section select Add. Navigate to the DrJavaJars directory and select the tester.jar file.

á Click Select, then in the Preferences window select Apply and OK.
á You are now ready to compile and run your project. In the ToolBar on the top, hit Compile Project. There should be no errors, only a message that the compilation succeeded.

á
To run the project, in the ToolBar on the top,
hit Run.
á The results will be shown as follows.

á
You need to
scroll to see the complete output, starting with:

á
And ending with:
