[英]Eclipse - How to set default System Library
Workspace default JRE shows the one that I set via Window -> preferences -> Java -> Installed JREs
. 工作区默认JRE显示我通过
Window -> preferences -> Java -> Installed JREs
。 But by default, the project has JRE System Library as Execution environment [JavaSE-1.6(jre6)]
. 但默认情况下,项目将JRE系统库作为执行环境
[JavaSE-1.6(jre6)]
。 Why doesn't JRE System Library make Workspace default JRE as the default System Library? 为什么JRE系统库不将Workspace默认JRE作为默认系统库? And how can I change it to default System Library?
如何将其更改为默认系统库?
Open 'Window > Preferences > Java > Installed JREs' and check that the JRE/JDK you want to use is listed - add it if it is missing. 打开'Window> Preferences> Java> Installed JRE'并检查列出要使用的JRE / JDK - 如果缺少则添加它。
Open 'Window > Preferences > Java > Installed JREs > Execution Environments' and look at the entry for 'JavaSE-1.6'. 打开'Window> Preferences> Java> Installed JREs> Execution Environments'并查看'JavaSE-1.6'的条目。 Change the 'Compatible JRE' to the one you want to use.
将“Compatible JRE”更改为您要使用的JRE。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.