replacing default-jre-headless with jdk_version

on ubuntu default-jre-headless will always install the openjdk-6-jre-headless.