2

众所周知,我们可以在命令行中运行 eclipse,如下所示:

eclipse.exe - 清洁

我需要以同样的方式运行我的 eclipse rcp 程序

myrcp.exe 路径

那么如何在 myrcp 代码中获取参数“path”?

谢谢~

4

1 回答 1

4
org.eclipse.core.runtime.Platform

Platform.getCommandLineArgs();

检查这篇文章

于 2010-06-12T08:11:00.883 回答