public void openCertificateInBrowser() {
   String strCmd = "rundll32 url.dll, FileProtocolHandler" + " " + fileName;
   try {
      Process p = Runtime.getRuntime().exec(strCmd);
   } catch ( Exception e) {}
}

The method openCertificateInBrowser will open your html file with your default Windows browser. For more information see
http://www.michael-thomas.com/tech/java/javacert/MyLaunchDefaultBrowser.html

This "How To" submitted by Anthony.