DrJava
What it is
DrJava is a free development environment for writing Java programs, designed primarily for students. Its intelligent editor supports coding, while the Interactions pane lets users evaluate Java code interactively. The project also describes JUnit testing support, a source-level debugger, and Javadoc generation for source files. DrJava runs on Windows, macOS, and Linux and is released under a standard BSD open-source license. The current beta is compatible with Java 8, which the project identifies as the only supported version of traditional Java. It is distributed only as a JAR, a packaging choice intended to reduce cross-platform compatibility problems. The Eclipse plugin is described as very old and compatible only with Eclipse versions from the same era. On Linux, the FAQ reports an incompatibility with the Compiz window manager and recommends disabling Compiz if the problem occurs. Submitting bug reports and feature requests requires logging in with a SourceForge account. The listed Free plan costs nothing; there is no free trial.
For and against
For
- Interactive Java evaluation in the Interactions pane.
- Includes JUnit support and a source-level debugger.
- Can generate Javadoc documentation.
- Available for Windows, macOS, and Linux.
Against
- Current beta is compatible with Java 8.
- Distributed only as a JAR.
- Eclipse plugin supports only older Eclipse versions.
- Linux FAQ notes a Compiz incompatibility.
The verdict
DrJava offers core coding, evaluation, testing, and documentation tools in a free environment. Its Java 8 compatibility and older Eclipse plugin are important constraints to weigh first.
Who it suits
DrJava is suited to students learning Java who want an editor, interactive code evaluation, testing, and debugging tools. It may also suit users who can work with the Java 8-compatible beta and JAR distribution.
Plans and prices
Free
Java 8 compatible beta; distributed as a JAR
Read 5 Oct 2026 · cs.rice.edu
On the record
- Documentation
- DrJava can generate Javadoc documentation for source files.cs.rice.edu · read 5 Oct 2026
- Eclipse plugin
- The download page describes the Eclipse plugin as very old and compatible only with Eclipse versions from the same era.cs.rice.edu · read 5 Oct 2026
- Editor
- DrJava includes an intelligent program editor.cs.rice.edu · read 5 Oct 2026
- Interactive coding
- Its Interactions pane lets users evaluate Java code interactively.cs.rice.edu · read 5 Oct 2026
- Java requirement
- The current beta release is compatible with Java 8, which the page identifies as the only supported version of traditional Java.cs.rice.edu · read 5 Oct 2026
- License
- DrJava is released under a standard BSD open-source license.cs.rice.edu · read 5 Oct 2026
- Linux limitation
- The FAQ reports an incompatibility between DrJava and the Compiz window manager on Linux and recommends disabling Compiz if the issue occurs.cs.rice.edu · read 5 Oct 2026
- Platform packaging
- The page says the current beta is distributed only as a JAR to minimize cross-platform compatibility issues.cs.rice.edu · read 5 Oct 2026
- Purpose
- DrJava is a lightweight development environment for writing Java programs, designed primarily for students.cs.rice.edu · read 5 Oct 2026
- Support
- Bug reports and feature requests require a SourceForge account login.cs.rice.edu · read 5 Oct 2026
- Testing and debugging
- The project describes support for JUnit testing and a source level debugger.cs.rice.edu · read 5 Oct 2026