import java.net.URI;
public class Gotourl {
public static void main(String[] args) {
try {
URI uri = new URI(url);
Desktop.getDesktop().browse(uri);
} catch (Exception e) {
e.printStackTrace();
}
}
}
07-27
2998
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)