Fixed JDK installation and hadoop build