远程控制协议通讯
我编写了两个独立的RCP应用程序,我们称它们为A和B。是否可以从A调用并运行B而不设置任何依赖关系?
I wrote two independent RCP application, let's call them A and B. Is it possible to call and run B from A without setting any dipendences?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我没有尝试过这个..但我认为这将是一个正常的 Java 进程调用。
如果B是一个exe文件。
I have not tried this..But i assume it would be a normal Java process invoking.
If B is an exe.
如果您有 B 的可执行文件,则可以使用 Runtime.getRuntime().exec() 从 A 执行 B。
If you have the executable for B, you can use Runtime.getRuntime().exec() to execute B from A.