Install Java first so ant/maven can be installed later