Installing DrJava on Your Own Machine

Mac

  1. Go to the Adoptium download page. Choose Operating System: macOS, Architecture: Any, Package Type: Any, Version: 8 - LTS. Then click on JDK - 109 MB .pkg. This will download a .pkg installer file.

  2. Double-click on the .pkg file and accept the installation defaults.

  3. Go to the DrJava homepage and click on Download Jar File. This will download the file drjava-beta-20190813-220051.jar. If you get a message "This type of file can harm your computer. Do you want to keep it anyway?", just click Keep. You can put this file on your Desktop, or anywhere else that is convenient (such as in your Applications folder). You can also rename it if you like (a good choice might be just DrJava.jar) — just make sure to preserve the .jar extension.

  4. Holding down the Control key, click on the .jar file and choose Open. When a window pops up asking if you're sure you want to open the file, click Open again. You will only have to do this step once.

  5. In DrJava, choose Preferences from the Edit menu. This will open a configuration window. Select the Resource Locations tab (on the left), then click on the button to the right of the Tools.jar Location setting, and navigate to the following file on your computer:

    Macintosh HD → Library → Java → JavaVirtualMachines → temurin-8.jdk → Contents → Home → lib → tools.jar

  6. Click OK, and then restart DrJava. That's it, you're all done! You can now delete the .pkg installer file if you wish.

Windows