简体   繁体   中英

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?

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.

Windows>首选项> Java>已安装的JRE

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