Mouse cursor disappearing

AnujKu picture AnujKu · Aug 20, 2012 · Viewed 11.5k times · Source

For some reason, the mouse cursor in Eclipse is disappearing.

I can see that I am able to move on the next line and it shows me via the usual color changes, but the cursor itself is not visible. When I start eclipse, I can see the cursor but once the initialization is complete, the cursor is hidden again.

The same thing happened when I switched from Eclipse Indigo to Juno and other versions. I do not know what to do.

Any pointers on what might be wrong ?

Answer

Ashutosh Jindal picture Ashutosh Jindal · Aug 20, 2012

Anuj, try whether one of the following usual suspects fixes the problem :

  1. Change to a new workspace and check whether the problem re-appears there.

    • If it does not re-appear, then you are dealing with a corrupt workspace. Would a whole lot be lost if you began with a new workspace ?
    • If it does, then it's probably a rowdy Eclipse plugin. The next logical step would be a fresh Eclipse install (I would recommend Eclipse Indigo for Java Devs downloadable from here)
  2. If the problem persists with a brand new Eclipse + new workspace, then we'll need to widen our hunt and include OS / JDK problems. And while we are on that, which OS , JDK and Eclipse version are you using ?

Backing up a 'working' Eclipse setup

Once the problem has been fixed (for example by doing a Fresh Eclipse install) I would highly recommend backing up the following :

  1. The Eclipse Installation directory (so that you get all the plugins you installed)
  2. Workspace directory.

That ways you can restore a working version of your setup with minimal effort.