java使用命令打开浏览器
public static void main(String args[]){
try {
//不是在Java程序中执行而是在操作系统中执行
// Runtime.getRuntime().exec("cmd /c start http://lqi.iteye.com/");
Runtime.getRuntime().exec("explorer \"http://lqi.iteye.com\"");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}