try { Runtime.getRuntime().exec( "explorer http://www.baidu.com"); java.net.URI uri = new java.net.URI("http://www.baidu.com?w=a&c=d"); java.awt.Desktop.getDesktop().browse(uri); } catch (Exception e) { e.printStackTrace(); }