Create terminated.java