When I attempt to open Eclipse Mars, absolutely nothing happens. I don't get prompted to select my workspace or anything.
I've seen people run into this problem after update from Luna to Mars but I've been using Mars for a while now and this only just started happening today.
I've removed any software and undone any updates that could have potentially caused this to happen but it's still occurring.
What could cause this to happen?
Kill if there is any existing process of eclipse.exe and javaw.exe from background using task manager and try to run eclipse as administrator.
It could be due to lack of permission.
Check the YOUR_WORKSPACE_PATH/.metadata/.log file for exceptions. Moreover, I would add the system property -Dosgi.clean=true to the eclipse.ini file (this property enforces the cleanup of the OSGi cache).
Related
I am using Eclipse Neon on my MacBook & every time I start Eclipse it prompts me for my workspace again and again even though I set it as my default one.
Same goes for the plug-ins I have installed , I need to install eclipse decompiler every time I load eclipse.
I get an error like : "This wizard helps you to import and reinstall previously installed plug-ins. It is triggered because
either you are launching eclipse for the first time or your Eclipse has been updated."
Can someone please assist me with this issue ?
I had the same problem after updating my Mac to Sierra: Eclipse would not remember the default workspace. After moving Eclipse into the Application folder, the problem disappeared.
The issue seems to come from a Mac OSX Sierra feature called 'path randomization' (see eclipse bug 507328). The actual solution to avoid the path randomization seems to be for eclipse to provide signed .dmg images (bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=461670).
Two workarounds that I can suggest are:
Start from the eclipse oomph installer when installing eclipse (see https://www.eclipse.org/forums/index.php?t=rview&goto=1754574#msg_1754574)
Start the actual eclipse executable file instead of opening the .App container
Overview
I am running Ubuntu 15.10 with Eclipse Mars 4.5.2 (from the Oomph installer) and and Java 1.8 and Python 2.7. I am attempting to the PyDev 5.2.0 plugin for Eclipse. Installing with Eclipse's update manager seemed to go okay. The only problem is that I can only see PyDev related options when I run Eclipse with sudo.
What I have tried
I made sure to set the java VM path in the eclipse.ini file so the Eclipse binary runs with Java 8.
I added Java 8 to Eclipse's JREs and set to be default.
I tried running the Eclipse binary with the -clean option.
The first two didn't allow me access to the PyDev options in Eclipse. Running as a normal user with the -clean option did let me see the PyDev options, but running as a normal user without -clean made the PyDev menu options invisible again.
Finally, I noticed that running Eclipse as root made the PyDev options appear again. This suggested that there was some ownership or permission problem. Since my Eclipse installation and plugins are in my home directory, I made sure my user has ownership over everything in the home directory. I also reviewed the permissions of files related to the PyDev plugin, and it appears I have the appropriate permissions, but since I do not know which permissions each file ought to have, I am not sure.
I am not sure what is going on. It is especially surprising given that I was able to install the CDT plugin not long ago without any hassle. It's also possible the problem might be related to how root's environment is configured compared to my user's, but being able to access PyDev when running with -clean seems to vanquish that theory.
I could just run Eclipse as root from now on, which isn't that big of a deal. However, it is quite annoying not knowing why this is happening, making me feel like I don't have control over Ubuntu and Eclipse.
My guess is that you have the eclipse configuration folder not accessible by the current user (or some other folder inside the .metadata).
Try verifying/fixing the permissions on those folders (I don't exactly know where those folders go on the default ubuntu install, but on windows it's eclipse/configuration and the .metadata is where you point your workspace to).
In my case, upgrading to Ubuntu 16.04 solved my problem. After the upgrade, PyDev was working normally in Eclipse.
I have an Eclipse Kepler IDE where ADT Plugins, CDT plugis, Android NDK and Java is installed. It is sort of my lifeline IDE at work. Without this my whole work will come to a standstill. I have this IDE installed on a Vbox Ubuntu machine and have been using it for the past one year(ever since the glorious JUNO version days!). About 2 months ago, my IDE was veyr slow so I upgraded it from Juno to Kepler expecting better performance. I must admit it was not any at all. Also, on my VBox, the IDE froze a couple of times whenever I plugged in a USB in my Virtual Box. I assumed it must be some bug with the USB and just left it. Today, all of a sudden (this is the 5th time I have rebooted my virtual image) whenever I tried to copy a piece of code in my IDE, the whole IDE freezes. Only a kill -9 pid number command came to rescue after that. What should I do? Please suggest!!
thanks a lot.
First, you should configure the Java VM to create a thread dump when Eclipse hangs. Eclipse doesn't just hang for the fun of it; something is wrong but since there is a deadlock, Eclipse can't tell you anymore. Read up on debugging deadlocks.
The next step when Eclipse is acting up is always to clean the .metadata folder since a crash sometimes corrupts important files in there. See this blog post.
If that also doesn't help, you can try to reinstall Eclipse. Install the plugins one after the other, noting down what you do until you find the one which breaks the others.
I'm running Eclipse 3.5.2 on Ubuntu 10.04. I tried to install the EGit plugin for Eclipse, and after Eclipse restarted, I found all of my other plugins had effectively vanished (Subclipse, PyDev, OpenExtern, Colorer, etc). Oddly enough, Eclispe doesn't list anything as disabled, and running Eclipse from the command line doesn't show any errors.
I immediately uninstalled EGit, and tried uninstalling and then reinstalling some of my other plugins, but I can't seem to get anything working. Eclipse's software dialog listed them all as installed, and I can atleast see PyDev listed under the Open Perspective dialog, but when I try and start the PyDev perspective, nothing happens, and no errors are shown. I also tried Eclipse's update wizard, to install all pending updates for components, but that had no noticeable effect.
I'm completely lost, especially since I'm not getting any kind of messaging that would indicate a problem. What's happened here? How do I fix Eclipse's plugins?
EDIT: The issue seems to be similar to this post. I see dozens of errors like
Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project X
in my ~/workspace/.metadata/.log
Unfortunately, the suggested solution of somehow using the Equinox p2 Installer doesn't work for me.
EDIT: I tried deleting my ~/.eclipse folder and reinstalling my plugins, but the problem persists.
EDIT: I again tried deleting my ~/.eclipse folder, my ~/workspace/.metadata folder, removing all Eclipse Ubuntu packages (including config data), and then reinstalling, but plugins still aren't showing up...
EDIT: There may have been some other weird stuff going on. I'm not sure what triggered it, but at some point my entire file system became "readonly", and a lot of processes started to crash when they couldn't modify their db files (e.g. Firefox). After a reboot, everything seemed to resolve itself, and I was able to download and install Eclipse 3.7, which supposedly doesn't suffer from this bug.
Try going to Help > About Eclipse
Click on Installation Details and the Installation History tab
Select the date before things got screwed up and hit Revert
It was hanging on refreshing workspacing, specifically refreshing files in /target/classes in a project. I renamed that folder and now it hanging on the next progress item: Initializing Java Tooling.
I a unable to start elcipse. If clicking on expanding one of the projects in project view, it stops responding and javaw.exe needs to be killed.
This is on Windows XP
This is Eclipse Indigo
This may help
In your eclipse,
1) Go to Help
2) Click Eclipse marketplace
3) search - optimizer
install "optimizer for eclipse"
This works (the first AND second method)
http://blog.tauren.com/2009/10/repairing-corrupt-eclipse-workspace.html
You are one cheeky mate I swear eclipse