try {
Desktop.getDesktop().browse(new URI(url));
return;
} catch (Exception ignored) {
ignored.printStackTrace();
}
Runtime rt = Runtime.getRuntime();
String OS = System.getProperty("os.name").toUpperCase();
try {
if (OS.contains("WIN")) {
rt.exec("rundll32 url.dll,FileProtocolHandler " + url);
} else if (OS.contains("MAC")) {