我正在尝试创建一个小 jar 文件,该文件将通过打开 IE 来帮助用户,转到maps.google.com,然后加载特定的 KMZ 文件。
打开IE没问题,到此为止的程序如下:
import java.io.IOException;
public class DSI {
public static void main(String[] args) throws IOException {
Runtime.getRuntime().exec("cmd.exe /C start https://maps.google.com");
}
}
如何将此链接* 打印到 Google 搜索栏?