Updating Java recipe