通过Java程序启动桌面应用
@Test public void test002() { Runtime runtime = Runtime.getRuntime(); try { runtime.exec("\"D:\\MySoftwareInstallLocation\\NavicatPremium15\\navicat.exe\""); } catch (IOException e) { e.printStackTrace(); } }
@Test public void test002() { Runtime runtime = Runtime.getRuntime(); try { runtime.exec("\"D:\\MySoftwareInstallLocation\\NavicatPremium15\\navicat.exe\""); } catch (IOException e) { e.printStackTrace(); } }