Information Technology Services (ITS)
 
 
 
 
 
 
 
 
 
Documentation

DrJava Installation with Java SE 7 & 8 JDK


image_pdfimage_print

DrJava is an integrated development environment (IDE) for writing, compiling and debugging programs in the Java programming language. This documentation is focused only on getting DrJava running, other documentation is available at the end of this post.

DrJava works with JDK 7 and JDK 8 according to the release notes.

Step one

Answer two short questions:

  1. Is your operating system Windows, Mac or Linux?
  2. Is your operating system 32- or 64-bit?

Step two

Windows and Linux users can visit Oracle to download a version of Java SE 7 JDK or Java SE 8 JDK for your specific operating system. Both 32- and 64-bit versions are available for nearly every platform.

Mac users must register as a developer with Apple to get the JDK for Mac. If you already have an Apple ID this should not be a problem. The product named Java for OS X 2013-005 Developer Package is what you probably want. But, you should also check out the docs from Oracle.

Also, if you open Terminal on the Mac and type “javac”, you will receive the message:
No Java runtime present, requesting install.
Which will then ask if you want to find an appropriate runtime.

Install the Java SE JDK on your operating system according to the manufacturers recommendations.


Step three

Download the DrJava IDE for Windows, Mac or Linux.

Windows users can simply double click the program and it will launch.

Mac users run DrJava like any other application.

Note for Mac users: If you receive a message that the Downloaded .app is damaged and can’t be opened, then perform the following:

  • Open System Preferences, select Security & Privacy and select General
  • Unlock to make changes
  • Change Allow apps downloaded from to Anywhere
  • Confirm Allow from anywhere

The next time you open DrJava the notice will change to Are you sure you want to open it?

Linux users can run the following command in the directory where the JAR file lives:
java -jar drjava.jar


Step four

Read further:
DrJava User Documentation
Java 7 API