added java_setup and java_update