spiderman
spiderman

Reputation: 11112

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?

enter image description here

Upvotes: 4

Views: 3866

Answers (1)

greg-449
greg-449

Reputation: 111142

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.

Upvotes: 5

Related Questions