Java使用指定URL打開IE瀏覽器

package com.kkoolerter; import java.io.IOException; public class OpenIE {     public static void main(String[] args) throws IOException {         String url = "www.baidu.com";         ProcessBuilder builder = new ProcessBuilder(                 "c:\\Program Files\\Internet Explorer\\iexplore", url);         builder.start();     } }
相關文章
相關標籤/搜索