简体   繁体   中英

Eclipse - How to set default System Library

Workspace default JRE shows the one that I set via Window -> preferences -> Java -> Installed JREs . But by default, the project has JRE System Library as Execution environment [JavaSE-1.6(jre6)] . Why doesn't JRE System Library make Workspace default JRE as the default System Library? 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.

Open 'Window > Preferences > Java > Installed JREs > Execution Environments' and look at the entry for 'JavaSE-1.6'. Change the 'Compatible JRE' to the one you want to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM