Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 518003

Summary: Eclipse Oxygen RC3 does not recognize JRE 9
Product: [Eclipse Project] JDT Reporter: Kavitha Karunakaran <kavithaks25oct>
Component: APTAssignee: Generic inbox for the JDT-APT component <jdt-apt-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: kavithaks25oct
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Snapshot of error seen none

Description Kavitha Karunakaran CLA 2017-06-08 09:47:46 EDT
Created attachment 268819 [details]
Snapshot of error seen

System configurations:
OS : Windows-10
JDK version : JDK 9 build 172 [early access]
JRE version : JRE 9 Build 172 [early access]
Eclipse version: eclipse-SDK-4.7RC3-win32-x86_64
Build id of eclipse : I20170531-2000
Steps to reproduce:
1. Install Java 9 and uninstall all earlier versions of JDK and JRE from the system.
2. Download and install eclipse Oxygen RC3 from the eclipse downloads page.
3. Open Eclipse workbench after setting -vm to JDK 9 location and adding vmargs --add-module=ALL-SYSTEM.
4. Open Window -> Preferences -> Java -> Installed JREs. It will show an error saying "The selected JRE does not support the current compiler compliance level of 1.8".
5. Goto Java -> Compiler under Preferences. Under compiler compliance level, no drop down for 1.9 is added. The highest seen is 1.8
6. Goto installed JREs option again. Try to add JRE. The JRE home for path to JDK 9 or JRE 9 is not recognized. It displays error "Target is not JDK root. System library was not found".
Comment 1 Kavitha Karunakaran CLA 2017-06-10 03:27:20 EDT
Not a bug. There was a problem with download of Eclipse Support for Java 9 from marketplace. It was resolved later and now installed jre is set to java 9