As you may know, DrJava is a lightweight programming environment for Java designed to foster test-driven software development. It includes an intelligent program editor, an interactions pane for evaluating program text, a source level debugger, and a unit testing tool.
This tutorial shows you how to install DrJava via getdeb repository in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04 and their derivatives such as Linux Mint, Elementary, etc.
To get started, download and install the deb from the below link which will add the GetDeb repository to your system:
For Linux Mint, you can directly enable getdeb repository from Software Sources.
To install DrJava, click Reload button and search and install drjava package in Synaptic Package Manager. Or, run below command in terminal (Ctrl+Alt+T):
sudo apt-get update; sudo apt-get install drjava