Update to java