update killjava and include tmpdir