From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 Description of problem: I cannot add the Sun (1.4.2) or Bea (jrocket from RHEL iso) JREs to Preferences in Eclipse. When I add the required information (jre name, jre home directory) the Ok button remains grayed out. I easily added the IBM JRE (from the RHEL iso). Version-Release number of selected component (if applicable): eclipse-2.1.0-22 How reproducible: Always Steps to Reproduce: 1.Open Eclipse 2.Open Window | Preferences 3.Select Java and then Installed JREs 4.Click on Add 5.Enter correct info Actual Results: Ok button remains grayed out. Expected Results: Ok Button should become clickable. Additional info: The Sun SDK was installed from the Sun 1.4.2 SDK rpm. The BEA SDK was installed with te RHEL rpm.
I'm having trouble reproducing this. For the BEA JRockit SDK distributed with RHEL3, I have the "JRE home directory" field in the "Edit JRE" dialog set to /opt/bea/jrockit81sp1rp1_141_05. For the Sun 1.4.2 SDK, I have the "JRE home directory" field in the "Edit JRE" dialog set to /usr/java/j2sdk1.4.2. The OK button becomes clickable for me in both cases. Are these the JRE home directories that you entered? As a side-note, please be aware that the BEA JRockit SDK requires you to set the environment variable LD_ASSUME_KERNEL=2.4.1 (as mentioned in the release notes).
Reopening while waiting for additional information.
Yes these are the directories I entered. Also note that if I start Eclipse with the -vm option and specify the Sun JVM then I not longer have the problem. I am not sure what is happening. Brad
We've tried this on stock RHEL3 machines with the eclipse-2.1.0-22 RPM, and we cannot reproduce this behavior. I'm not sure what the problem here could be - I've never seen this behavior before. I have also tried to reproduce this problem on the eclipse package that will ship with RHEL3 Update 1, and cannot reproduce. May I suggest that you upgrade to the new package when it becomes available on RHN.
Moving from RHEL/3/Eclipse to Red Hat Developer Suite product.