fix java install instructions
Move Java install instructions to a separate shell script