简体   繁体   中英

installed JDK 7 is not found in eclipse

I run eclipse helios (64 bit version) on windows 7 (64 bit) platform. I've downloaded both JDK 6 and 7 on "Program Files" folder. I want to compile my Java program in Java 1.7 so that I'd following to switch it.

  1. click on project folder
  2. select Properties
  3. select Java Compiler

However system doesn't show Java 1.7 option.

[update]

after adding jdk 1.7 under installed JREs.

在此处输入图片说明

Firstly, you need config eclipse jdk , add the jdk 1.7 to eclipse, the following screenshot is below

click Windows->Prefrence

在此处输入图片说明

then click Add...

在此处输入图片说明

then next

在此处输入图片说明

select the jre directory, then click finish button, you will find the jdk7 choice

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