调用IE浏览器打开链接URL:
Runtime.getRuntime().exec(“cmd /c start iexplore http://www.baidu.com/”);
或
ProcessBuilder builder = new ProcessBuilder(
“c:\Program Files\Internet Explorer\iexplore”, “http://www.baidu.com”);
builder.start();
调用IE浏览器打开链接URL:
Runtime.getRuntime().exec(“cmd /c start iexplore http://www.baidu.com/”);
或
ProcessBuilder builder = new ProcessBuilder(
“c:\Program Files\Internet Explorer\iexplore”, “http://www.baidu.com”);
builder.start();