change to java