Restarted in Java