Update to java version