Java, wie man einen Link öffnet

Runtime rt = Runtime.getRuntime();
String url = "https://www.example.com";
try {
	rt.exec("rundll32 url.dll,FileProtocolHandler " + url);
} catch (IOException ioException) {
	ioException.printStackTrace();
}
Black Batfish