@Deprecated public static void runFinalizersOnExit(boolean run){
  finalizeOnExit=run;
}

@ Deprecated public static void runFinalizersOnExit ( boolean run ) { finalizeOnExit = run ; }
sets the flag that indicates whether all objects are finalized when the vm is about to exit . note that all finalization which occurs when the system is exiting is performed after all running threads have been terminated .
