Bug 139773 - Eclipse fails to find java.lang.Object when using IBM jvm
Summary: Eclipse fails to find java.lang.Object when using IBM jvm
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Developer Suite
Classification: Retired
Component: JDT
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ben Konrath
QA Contact: eclipse-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-17 22:56 UTC by Ben Konrath
Modified: 2007-04-25 15:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-25 15:49:54 UTC
Embargoed:


Attachments (Terms of Use)
eclipse.org JRE System Library (198.16 KB, image/png)
2004-11-22 18:09 UTC, Ben Konrath
no flags Details
RHDS JRE System Library (132.92 KB, image/png)
2004-11-22 18:11 UTC, Ben Konrath
no flags Details

Description Ben Konrath 2004-11-17 22:56:55 UTC
Steps to Reproduce:

* make sure you only have the IBM jvm installed and it is listed as an 
  installed JRE
* import a java project from cvs

At this point Eclipse tries to compile the project but fails with this
message: 

The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path then try
building this project

To fix this, right click on the project -> Properties -> Java Build
Path -> Libraries tab -> Add External JARs ... -> select core.jar

I've seen this both on x386 and on ia64 with Java projects and plugin
projects.

Comment 1 Ben Konrath 2004-11-17 23:08:30 UTC
Java packages installed on ia64: 

% rpm -qa | grep java-1.4.2
java-1.4.2-ibm-devel-1.4.2.0-1jpp_13rh
java-1.4.2-ibm-src-1.4.2.0-1jpp_13rh
java-1.4.2-ibm-1.4.2.0-1jpp_13rh
java-1.4.2-ibm-demo-1.4.2.0-1jpp_13rh
%


Comment 2 Ben Konrath 2004-11-22 18:04:23 UTC
T've noticed that this happens for other jars in the JRE as well. The
attachments below show the JRE System Libraries for both RHDS and
eclipse from eclipse.org on the same machine with the same project.

Notice that the eclipse.org version has a more complete JRE System
Library.

Comment 3 Ben Konrath 2004-11-22 18:09:45 UTC
Created attachment 107209 [details]
eclipse.org JRE System Library

Comment 4 Ben Konrath 2004-11-22 18:11:04 UTC
Created attachment 107210 [details]
RHDS JRE System Library

Comment 5 Ben Konrath 2007-04-25 15:48:51 UTC
Closing bug as we are no longer working on RHDS 2.0.


Note You need to log in before you can comment on or make changes to this bug.