Reputation: 3068
Hello I have an project in Eclipse and I need change my JRE version in this progect to JRE 1.7 from JRE 1.8. How can I do it?
Upvotes: 0
Views: 1103
Reputation: 111216
In the Preferences go to 'Java > Installed JREs' and add the Java 8 JRE/JDK if it is not already there.
In the Properties for the project look at 'Java Build Path'. On the 'Libraries' tab edit the JRE entry and select Java 8.
You may also want to set the Java Compiler preferences for the project (or the global preferences) to specify Java 8 compliance.
Note: You need to be running Eclipse Luna (4.4) or later for full Java 8 support.
Upvotes: 2