[英]How to tell m2eclipse not to add the JRE as a dependency
It seems that m2eclipse automatically adds the JRE as a dependency to a project. 看来m2eclipse会自动将JRE作为依赖项添加到项目中。
On a JavaME project however I need to be able to disable that. 但是在JavaME项目上,我需要禁用该功能。 Is there a way to do it?
有办法吗?
I'm not familiar with M2Eclipse but I imagine the project build path is still managed in the same manner as a standard Eclipse installation. 我对M2Eclipse并不熟悉,但是我想象项目构建路径仍以与标准Eclipse安装相同的方式进行管理。 If this is the case then you should be able to change the project dependencies by doing the following:
如果是这种情况,那么您应该可以通过执行以下操作来更改项目依赖项:
Additionally, you will probably want to alter the settings under the 'Java Compiler' section to better match your target environment. 另外,您可能需要更改“ Java编译器”部分下的设置,以更好地匹配您的目标环境。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.