minecraftdirectq/vps-shell-scripts — comment on commit 0d9a3308965438f6b34b062597b865c4af57c49a
File:  line 0
By NixonInnes:

It installs the Sun Java JRE. The method only applies to Ubuntu Server (it just appends the repo to sources.list). I'm looking into a more robust method which is not so OS/distro specific. Im toying with the idea of simply telling it to install OpenJDK, but it is advised to use Sun's platform and I guess a lot of people would moan :P (however it would mean the script would run cleanly on any Debian distribution).