I don't have java installed on a Ubuntu virtual machine (just server, no X11):
bash: java: command not found
I want to install a minimal version to run some scripts. When I issue:
sudo apt-get install openjdk-7-jre
It tries to install 109 packages, and some of them are
x11-common x11-utils sound-theme-freedesktop
I want to avoid having to install such a beast with such a lot of unneeded stuff. Is there a way to install a more minimal java that will suit me to run console apps.