It’s as easy as:

apt-get install openjdk-7-jre