I've been using Eclipse for quite a while. I just switched from OpenJDK to SunJDK. I went back to using Eclipse, it opened just fine. I added some libraries to my build path of a project, but the error checker was still saying I didn't have it. So I decided to restart Eclipse. After than I can't start eclipse. It doesn't give any errors or anything. If I launch it from the command line, it doesn't do anything:
joel@joel-laptop:~$ eclipse
joel@joel-laptop:~$
It never pops up the choose workbench dialog or anything. Has anyone heard of this? I'm using the latest version from the Ubuntu repos.
I've tried restarting my machine and reinstalling Eclipse. Nothing.
I used apt-get purge eclipse and then apt-get install eclipse and it still did the same thing. I ended up purging Sun JDK and reinstalling Eclipse and it installed OpenJDK. All works again.
However, I'm a little disappointed that it wasn't working with Sun JDK. Oh well. Whatever.
UNless you have good reason to, I have found that the best way to run Eclipse is to download it from eclipse.org, and not install the one in the Ubuntu repositories. Uninstall the repository version, and download one manually and run it.
there is a log in workspace/.metadata/.plugins/org.eclipse.ui.workbench/log that you can check although I don't think that's going to work in your case. Also what do you mean you reinstalled eclipse? are you using synaptic or just unzipping into a directory? try
which eclipse
in case you have many installed to see which is being executed.check if setting up the JRE manually using the -vm parameter in eclipse.ini changes thing.