Changed java warning to red