Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
众所周知,我们可以在命令行中运行 eclipse,如下所示:
eclipse.exe - 清洁
我需要以同样的方式运行我的 eclipse rcp 程序
myrcp.exe 路径
那么如何在 myrcp 代码中获取参数“path”?
谢谢~
org.eclipse.core.runtime.Platform Platform.getCommandLineArgs();
检查这篇文章