try
  atexit ("java_exit", false);
catch
  warning ("Failed to remove atexit command in java");
end_try_catch
