设置 ECLIPSE IDE 路径
我仍在研究这个问题: Java Runtime command line Process
根据其中一位贡献者所说,我尝试了以下操作: 所以我尝试在“运行配置”中添加“gs”的路径 ->环境选项卡和“链接资源”(首选项 -> 常规 -> 工作区 -> 链接资源)。两者都不起作用...
但它仍然不起作用,我遇到了同样的错误。
还有其他想法吗?因为我已经全力以赴了。
I'm still working on this problem:
Java Runtime command line Process
Based on what one of the contributors has said I tried the following:
So I've tried adding the path to "gs" in my "Run Configurations" -> Environment Tab and "Linked Resources" (Preferences -> General -> Workspace -> Linked Resources). Neither has worked...
But it's still not working, I'm getting the same error.
Any other ideas? Because I'm all out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过启动参数预定义工作空间:
例如
请注意,您必须将路径名放在括号中。要在 Eclipse 标题中查看当前工作区目录,请使用
-showLocation
作为附加参数。You can predefine the workspace via the startup parameter:
e.g.
Please note that you have to put the path name into brackets. To see the current workspace directory in the title of Eclipse use
-showLocation
as additional parameter.Java 实际上对您的 Windows 路径一无所知。这里有两个选择:
IMO #2 更简单。如果您不想对其进行硬编码 - 从配置文件中读取它或将其作为系统属性提供。
Java really knows nothing about your Windows PATH. You've got two options here:
IMO #2 is much simpler. If you don't want to hard code it - read it from config file or supply it as system property.