Using DrJava

Here is some basic information on how to use SaM/Bali in your Dr. Java project:

  1. Download the AMS file (this contains SaM and Bali files). Save it somewhere and know where it is.
  2. Start DrJava. Create a new project - save it as whatever you want.
  3. Go to Project→Object Properties. Click the Add button and select the SaM JAR file you downloaded. Click on OK.
  4. Open your Java file and try compiling it. This should work.