SyntaxFix
Write A Post
Hire A Developer
Questions
try { Desktop.getDesktop().browse(new URL("http://www.google.com").toURI()); } catch (Exception e) {}
note: you have to include necessary imports from java.net
java.net