Update java dependencies (and fixed typo)

Debian java runtimes consist from two parts, main (openjdk-7-jre-headless) and addition with graphical dependencies (openjdk-7-jre) which depends on headless. JBoss can run under headless runtime, moreover this decreases number of dependencies required to be installed on server (openjdk-7-jre pulls a lot of X server and GTK stuff, which are unneeded on server).