If you are running on windows you can do the following
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "http://www.your-site.com");
This will work for different browsers as well as different versions of windows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.