如何通过eclipse plugin.xml按钮启动exe
我们想在eclipse“rcp”中启动windows“exe” Windows“exe”位于相对路径为“eclipse.exe”的文件夹中 现在我们想在eclipse“rcp”中的现有按钮旁边添加一个按钮 因此,当点击这个按钮时,我想调用windows“exe”,它位于“eclipse.exe”旁边的文件夹中如何通过eclipse plugin.xml按钮启动exe,eclipse,eclipse-plugin,eclipse-rcp,eclipse-cdt,Eclipse,Eclipse Plugin,Eclipse Rcp,Eclipse Cdt,我们想在eclipse“rcp”中启动windows“exe” Windows“exe”位于相对路径为“eclipse.exe”的文件夹中 现在我们想在eclipse“rcp”中的现有按钮旁边添加一个按钮 因此,当点击这个按钮时,我想调用windows“exe”,它位于“eclipse.exe”旁边的文件夹中 如何获取“eclipse.exe”的相对路径,以便进入要运行的“exe”文件夹,将其命名为windows“exe”…使用Platform.getInstallLocation()获取安装位
如何获取“eclipse.exe”的相对路径,以便进入要运行的“exe”文件夹,将其命名为windows“exe”…使用
Platform.getInstallLocation()
获取安装位置(org.eclipse.core.runtime.Platform
)
URL-installURL=Platform.getInstallLocation().getURL();
使用Platform.getInstallLocation()
获取安装位置(org.eclipse.core.runtime.Platform
)
URL-installURL=Platform.getInstallLocation().getURL();