try {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost:8080/");
} catch (IOException e1) {
e1.printStackTrace();
}
JAVA中调用WINDOWS打开浏览器
最新推荐文章于 2024-01-17 16:15:58 发布
try {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost:8080/");
} catch (IOException e1) {
e1.printStackTrace();
}