Eclipse Troubleshooting

Due to the upgrade to Fedora Core 6, there have been various issues with Eclipse starting properly on some machines.
In order to fix this there are a couple things you may try. Here are the instructions given to us:

Try this:

Note: If you do not know how to do any of the steps here, refer to the bottom of the pageQuick How-to
If the student has ran
Eclipse in FC4, then the program should run normally in either FC4 or
FC6.  However, if the student is running it for the first time, then
there will be some obscures errors about being "Unable to start the
window."  The second time the student starts the shell script, the
workspace will be busy because Eclipse did not shut down properly.

There are several steps to fix this problem:

      1. kill all running versions of Eclipse and java to free up the
	 workspace directory

      2. completely remove the default workspace directory
	 ( ~/workspace) but be very sure the student doesn't have data
         there :-)

      3. have the student shell into an FC4 machine (harpo is still on FC4)

      4. start 'eclipse.sh' on the FC4 machine

      5. close Eclipse and logout of the FC4 machine

      6. Eclipse should now run on either FC4 or FC6


PS - If you are interested about why this happens, there is an
incompatibility with the new version of Mozilla (shipped with FC6)
that stops the setup script from completing.  Running in FC4 seems to
bypass the problem.  

Or try this:

Wayne discovered that another solution is to type
the following in the shell BEFORE you run Eclipse for the first time:

  export MOZILLA_FIVE_HOME=/nowhere

If 'export' cannot be found (or recognized or whatever) on your machine, instead try:

  setenv MOZILLA_FIVE_HOME /nowhere

Quick How-to

Step 1:

To do this, type 'ps' in the terminal, if eclipse was ran you may see:
  PID TTY          TIME CMD
25738 pts/5    00:00:00 tcsh
25794 pts/5    00:00:00 eclipse
25795 pts/5    00:00:31 java
25819 pts/5    00:00:00 ps
'eclipse' and 'java' are both for Eclipse, so kill them both by typing 'kill ' then the PID of the process, so 'kill 25794' will kill 'eclipse'. If successful, a 'ps' should show this:
  PID TTY          TIME CMD
25738 pts/5    00:00:00 tcsh
25823 pts/5    00:00:00 ps

Step 2:

Typing 'ls' from your home directory (where you are when you first open a terminal) should display 'workspace' somewhere. If you've never used Eclipse before, or are absolutely sure you have nothing you wish to keep in there, simply type 'rm -r workspace' to delete (NOT recycle, gone forever) the directory. If you have things you'd like to keep, either back them up first or type
'mv workspace SOMEOTHERNAME', where SOMEOTHERNAME could be 'workspacebkp' or something descriptive, to rename the directory.

Step 3:

Type:
ssh harpo
If prompted, type 'yes'. It will then ask for your password, you will not see your password as you type, it is still working. You will now be logged in to harpo.

Step 5:

Exit eclipse normally (not with kill).
At the terminal type 'exit', this will log you out of harpo, and you will be back on your current machine.




Please email all errors, complaints, suggestions, and success stories to flom@cs.colostate.edu.