无效方法:

//System.exit(Application.EXIT_RELAUNCH);

//System.exit(Application.EXIT_RELAUNCH);   

 可以正常重启应用程序的方法:

Application.EXIT_RELAUNCH为24

System.setProperty(PROP_EXIT_CODE, Integer.toString(24));
 PlatformUI.getWorkbench().restart();

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2021-10-13
  • 2021-08-30
  • 2021-10-04
  • 2021-10-09
猜你喜欢
  • 2021-08-18
  • 2021-10-02
  • 2021-10-18
  • 2021-05-29
  • 2022-02-11
  • 2022-12-23
  • 2021-06-05
相关资源
相似解决方案