Java interpreter support for needrestart