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

Bug 40673

Summary: Detected JRE not set correctly
Product: [Eclipse Project] JDT Reporter: Tomas Znamenacek <tomasz>
Component: DebugAssignee: Darin Swanson <Darin_Swanson>
Status: VERIFIED FIXED QA Contact:
Severity: blocker    
Priority: P1    
Version: 3.0   
Target Milestone: 3.0 M3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patched launching plug-in none

Description Tomas Znamenacek CLA 2003-07-23 13:50:06 EDT
The name of the detected JRE is set to ".." and the JRE System libraries list,
in the installed JRE page of Preferences dialog, shows only a few JAR files from
<JRE>/lib/ext directory.

The result is that NO java code can be compiled becase the java.lang.Object can
not be resolved.

These problems didn't exist in previous Eclipse 3 stream builds.

My system is SuSE Linux 8.2 with IBM Java2 141.
Comment 1 Philipe Mulet CLA 2003-07-23 17:18:50 EDT
JRE container belongs to debug
Comment 2 Darin Wright CLA 2003-07-24 08:29:03 EDT
Which build does this problem exist on? What VM are you using to launch 
Eclipse? 
Comment 3 Darin Wright CLA 2003-07-24 09:17:56 EDT
I have noticed that the "launchingsupport.jar" is missing from the build. This 
could explain the problem.
Comment 4 Darin Wright CLA 2003-07-24 09:26:47 EDT
Sonia, a jar is missing from the "org.eclipse.jdt.launching" plug-in. 
Specifically "lib\launchingsupport.jar". I think this is due to a missing line 
in our "build.properties". I have appended "lib/*.jar" to the "bin.includes" 
section. Do you agree that this is the source of the problem?

bin.includes = plugin.xml,\
               about.html,\
               plugin.properties,\
               java.policy.applet,\
               *.jar,\
               lib/*.jar
Comment 6 Darin Wright CLA 2003-07-24 10:40:09 EDT
Fixed build XML. Attaching a patch for interested parties (a replacement for 
the "org.eclipse.jdt.launching" plug-in).
Comment 7 Darin Wright CLA 2003-07-24 10:41:34 EDT
Created attachment 5546 [details]
patched launching plug-in
Comment 8 Darin Wright CLA 2003-07-24 11:09:59 EDT
Please verify, Darin(S).
Comment 9 Darin Swanson CLA 2003-07-24 11:28:02 EDT
Verified.