URI address = null;
try {
address = new URI("c:/index.htm");
} catch (URISyntaxException ex) {
System.out.println("Invalid URI");
}
if (Desktop.isDesktopSupported()) {
try {
Desktop.getDesktop().browse(address);
} catch (IOException ex) {
System.out.println("Error launching browser");
}
}
Tried it, and its not having none of it lol