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

Bug 75740

Summary: [java launching] Project can't find exported JRE from dependent project
Product: [Eclipse Project] JDT Reporter: kfud <kfud>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: minor    
Priority: P4 CC: svaillancourt
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description kfud CLA 2004-10-06 17:18:51 EDT
A project that uses the exported JRE of another dependent project will build,
but when a launch is defined and ran, it fails with
java.lang.NoClassDefFoundError: java/lang/Object.

Example: ProjectB has no JRE and is dependent on ProjectA which has a JRE that
is exported.  ProjectB will build, but if a launch is defined and ran in
ProjectB, it will fail with the previously mentioned Error.

The work around is to add a JRE in ProjectB.
Comment 1 Darin Wright CLA 2004-10-13 12:25:54 EDT
This actually works in 3.1, as we infer the emtpy bootpath to be the default 
bootpath. However, we should look for an "inherited" JRE via the exported 
classpath entry in a pre-req.
Comment 2 Darin Wright CLA 2005-04-18 11:20:05 EDT
Deferred for post 3.1
Comment 3 Denis Roy CLA 2009-08-30 02:17:37 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.