My Java Swing application generates an HTML file, and I want to open it with the default browser when it is generated and saved. How can I do this?
You can try this:
Runtime.getRuntime().exec("hh.exe index.chm");