Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + 网页地址);url
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + 网页地址);
这个Runtime.getRuntime().exec(String command)方法就像在 WIN+R 呼出的运行窗口运行命令的效果同样code