Bug 499352 - List of installed JREs is empty
Summary: List of installed JREs is empty
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-08-08 05:34 EDT by Rainer Klute CLA
Modified: 2019-05-22 04:48 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Klute CLA 2016-08-08 05:34:46 EDT
Under certain (and unclear) circumstances JDT does not find even a single JRE, i.e. the list of installed JREs is empty (Window → Preferences → Java → Installed JREs).

However, since Eclipse has been started successfully, at least one JRE is necessarily installed somewhere and should be included in the list.
Comment 1 Jay Arthanareeswaran CLA 2016-08-08 05:55:08 EDT
Anything in the error log that would give us some hint?
Comment 2 Noopur Gupta CLA 2016-08-08 06:23:43 EDT
Can you reproduce it with a new workspace?
Comment 3 Jan Peter Stotz CLA 2017-10-10 04:20:13 EDT
May be this bug is Java 9 related? On my system (Windows 64bit, 64Bit Oracle Java9 JDK installed) Java 9 JREs are not detected.
Comment 4 Sarika Sinha CLA 2017-10-11 00:28:55 EDT
Can you check the value in -
<Workspace>\.metadata\.plugins\org.eclipse.jdt.launching\.install.xml

And do you have any value for "java.home" set in System property ?
Comment 5 Jan Peter Stotz CLA 2017-10-12 13:29:25 EDT
Strange, I thought I already had installed 4.7.1a however the download package has now changed. I installed the new version and now the Java 9 JREs are correctly found.