Create Terminate.java