Dr Java Tutorial

The main goal of this tutorial is to show how to create / compile / run Java program using DrJava.

Steps

  1. Create a folder called Program1

  2. Save the file Hello.java to Program1 folder

  3. Open Dr. Java IDE (see image)
  4. Open file Hello.java
  5. Compiling your program
  6. Executing/Running your program
    Welcome to DrJava. Working directory is S:\Javaprojects\Program1
    > java Hello
  7. What if there are errors in your code?

  8. Editing your files
  9. Repeat steps 4-6 for program Square.java
  10. Adding and Removing Jar
  11. Changing Settings
  12. For any kind of help, consult

Working with DrJava at home

If you want to work with DrJava at home, then there are various resources that explain how to install Java & DrJava to any operating system (Windows, Mac, Linux...).