Bug 238066

Summary: Clean install of Eclipse 3.2.2 fails to start
Product: [Fedora] Fedora Reporter: Edward Hildum <ehildum>
Component: eclipseAssignee: Ben Konrath <ben>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-30 16:33:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error log from ~/workspace/.metadata none

Description Edward Hildum 2007-04-26 21:22:50 UTC
Description of problem:


Version-Release number of selected component (if applicable):
eclipse-sdk.i386 1:3.2.2-1.fc6

How reproducible:
I've done this now 3 times.

Steps to Reproduce:
1. On FC6 freshly upgraded from FC5, remove all eclipse packages and dependencies.
2. Delete all remaining eclipse and workspace directories in user directories
and delete /usr/share/eclipse.
3. do a fresh install of eclipse using yum install eclipse-pde-devel eclipse-cdt
  
Actual results:
Eclipse platform displays an error popup on startup: 
        An error has occurred. See the log file
        /root/workspace/.metadata/.log.



Expected results:
Platform starts and displays welcome window.

Additional info:

Comment 1 Edward Hildum 2007-04-26 21:22:50 UTC
Created attachment 153555 [details]
Error log from ~/workspace/.metadata

Comment 2 Ben Konrath 2007-04-27 04:13:12 UTC
Ok, it's a little strange that you're running eclipse as root. You shouldn't do
that if you can help it because eclipse will write configuration files to
/usr/share/eclipse/ which will mess up eclipse for other users on the system. 

Here's what you should do:

* remove eclipse again:
sudo yum remove eclipse-rcp libswt3-gtk2 eclipse-ecj

* manually delete /usr/share/eclipse and /usr/lib/eclipse
sudo rm -r /usr/share/eclipse /usr/lib/eclipse

* install eclipse
sudo yum install eclipse-sdk eclipse-cdt

* run eclipse as a normal user. If you still have a problem then you should move
~/.eclipse to out of the way and try again:
mv ~/.eclipse{,.bak}

If this works I'd like to see your backed up ~/.eclipse. Please report back.
Thanks, Ben

Comment 3 Edward Hildum 2007-04-27 15:38:20 UTC
Yeah, I know I shouldn't run it as root, but its the only way to install
subclipse.  If you run it as a normal user, the subclipse installation fails
with an error message that it doesn't have write permission on some directory
(don't remember which).  I notice that there is an update for eclipse available
today.  I'll follow up after I've run through your instructions.

Thanks, Ted

Comment 4 Edward Hildum 2007-04-27 16:54:44 UTC
I've followed the steps above, and eclipse now starts up correctly.  There are,
however, some additional problems.  I will put in a new bug report on those now.

Comment 5 Ben Konrath 2007-04-28 00:07:35 UTC
Ok, so can we close this bug?

Comment 6 Edward Hildum 2007-04-30 16:31:06 UTC
Go ahead and close it.  It sounds as if you have identified the problem.  I'll
test the latest release when it hits the update sites.

Comment 7 Ben Konrath 2007-04-30 16:33:45 UTC

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