Updated java creation script