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

Bug 328375

Summary: JRE discovery on Mac OS
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Mike_Wilson
Version: 3.7   
Target Milestone: 3.7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Darin Wright CLA 2010-10-21 11:28:49 EDT
According to the latest release notes for Mac OS, the way JRE detection is performed needs to be updated:

http://developer.apple.com/library/mac/#releasenotes/Java/JavaSnowLeopardUpdate3LeopardUpdate8RN/NewandNoteworthy/NewandNoteworthy.html#//apple_ref/doc/uid/TP40010380-CH4-SW1

We should be using "/usr/libexec/java_home -xml" to obtain XML output describing installed JREs.
Comment 1 Darin Wright CLA 2010-10-21 11:39:23 EDT

*** This bug has been marked as a duplicate of bug 325777 ***