mkUltra
mkUltra

Reputation: 3068

How can I change JRE version in Eclipse project?

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

Answers (2)

Nuno Marques
Nuno Marques

Reputation: 19

Windows > Preferences > Java > Installed JREs

Upvotes: 0

greg-449
greg-449

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

Related Questions