JavaFx:尝试仅使用Internet Explorer打开特定链接。使用某些解决方案对此进行了尝试。不适用于我。
final Hyperlink hyperlink = new Hyperlink("cmd" + " " + "/c" + "start" + " " + "iexplore" + " " + "http://www.google.com");
application.getHostServices().showDocument(hyperlink.getText());
解决方案:
Runtime.getRuntime().exec("cmd.exe /c start iexplore " + url);