Downgraded to java 1.6 to fix cloudbees build