最近项目要求server启动后自动打开浏览器,找了一圈
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost8080/");
最近项目要求server启动后自动打开浏览器,找了一圈
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost8080/");
最近项目要求server启动后自动打开浏览器,找了一圈
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost8080/");
最近项目要求server启动后自动打开浏览器,找了一圈
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost8080/");