java how to open a link
Runtime rt = Runtime.getRuntime();
String url = "https://www.example.com";
try {
rt.exec("rundll32 url.dll,FileProtocolHandler " + url);
} catch (IOException ioException) {
ioException.printStackTrace();
}
java how to open a link
Runtime rt = Runtime.getRuntime();
String url = "https://www.example.com";
try {
rt.exec("rundll32 url.dll,FileProtocolHandler " + url);
} catch (IOException ioException) {
ioException.printStackTrace();
}
link to method javadoc
/** See also {@link com.mypackage.MyClass#myMethod(String)}. */
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us