Change to java