updated to use openjdk-7-jre-headless and thank Barnaby Gray for the fix; removed cron, as it is pre-installed