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.
Related
My copy of Eclipse (Mars.2) on Windows 10 stopped working this past Sunday for no obvious reason. Ever since then, when I try to launch Eclipse, I get a very brief glimpse of the splash screen, then it closes. There is no new log file in the eclipse\configuration folder; the oldest one is several days old. There was no exit code screen like the ones I've seen when I had exit code 13 or exit code 1. I've got a single JDK in C:\Program Files and it is the latest and greatest 64-bit JDK (at least the download link said it was a 64-bit version. I've forgotten how to determine with certainty what version it is via command line parameters.) I've tried installing newer versions of Eclipse, including both a version of Neon and the latest version of Oxygen, on both my C: drive and my F: drive (the other logical drive on my internal hard drive) and all of them have the same symptoms.
I've installed a copy of Netbeans 8.2 just to see if it would install and work and it seems to do fine. I was able to import projects from my Eclipse workspace and the various bits of code seemed to import fine. I also wrote a very basic HelloWorld just to see if it would run and it did. I think that means my JDK and my Eclipse workspace are fine. But Eclipse still won't launch. I'm completely baffled and can't think of what to do to make it work again. It was just fine right up until Sunday morning.
Logically, you have to be suspecting I did something silly right about then: messed with settings that I should have left alone, deleted something I shouldn't have deleted or something along those lines. I can't think of anything I did that in retrospect seems foolish. All I did was reboot Windows as I periodically do. Now, Eclipse resolutely refuses to work and won't tell me why.
I could just abandon Eclipse and move on to Netbeans or IntelliJ or one of the other IDEs but I've been using Eclipse happily for some time. I really don't want to invest the time it's going to take to learn how to do all the things I do in Eclipse in another IDE. How can I get it working again?
Ultimately, I solved this problem by uninstalling the sole JDK and JRE on the computer, then reinstalling them. I'm not sure what was messed up but that got my Eclipse working normally again.
I installed the JDK 8 64-bit for use with eclipse on a win 8.1 machine. I had an odd problem where my file browser kept crashing when trying to right click or open files. Chrome also frequently crashed.
It took me a while to figure out what was causing it. I got a different (new) PC with a new install of windows 8.1 x64 and the same thing happened as soon as JDK 8 x64 was installed.
It stopped after it was removed. I only have a few other things installed (VS2013, Steam, Nvidia drivers, Samsung Magician, Git, etc).
I tried installing JDK x32 which seemed OK at first, but eclipse was still looking in the x64 location. I tried restarting, but when the desktop was loading the whole desktop froze and took ages to respond. I uninstalled the JDK but my desktop is still freezing on startup.
After a few minutes it starts responding and works fine again....
I need eclipse for work and I have never seen anything like this before? Any idea what is happening or why it is now not responding at startup?
I doubt that we can find out what software causes incompatibilities on your system. However, it’s worth noting that Java can be used without modifying any system resources, if you are willing to sacrifice some of the comfort functions like having a Java control panel, the ability to launch runnable jars via double-click or the browser-plugin(s).
Most of these features are associated with the “public JRE”, so if you disable this feature during a JDK install, the installation should touch much less system resources. If that doesn’t help, you can go farther by just copying the jdk/jre folder from a different installation (having the same architecture) without going through any installation procedure. If you don’t have such second installation nor virtual machines to copy from, you may copy the installation folder from your machine to an unrelated folder, revert the system to the state before the installation (which doesn’t touch unrelated folders) and use the copy.
If Eclipse doesn’t find the Java installation folder then (not touching system resources implies not leaving a hint about the Java installation location), you have to modify Eclipse’s INI file to point to the Java installation location, as said by Archimedes Trajano. Alternatively, you may place the JRE right into a folder named “jre” within the Eclipse installation folder. Then, Eclipse will find it automatically.
you can set your JVM in the eclipse.ini
Generally I modify it to point to the jvm.dll of whatever JDK I am using so that I won't see eclipse.exe spawning off a java.exe process. Instead it will just be all in one process.
I have Eclipse Juno with Java EE, PHP, C++ and PyDev in it and it was working perfectly under Ubuntu 12.04 and later under 14.04.
Yet, when I upgraded my OS to Ubuntu 14.10, Eclipse doesn't work anymore, whenever I try to open it, it shuts down immediately.
I want to upgrade it to Luna but it doesn't give me the chance to launch the upgrade, I have an idea I have and wish to hear your advice on whether it is right or wrong.
What I'd like to do is to download Luna and extract it over the older version.
Will this work? Or will it make it even worse?
Is there anyone who tired it before?
You may even download Luna, and extract it to a different folder (not necessary on top of the older version).
Afterwards, launch Luna and try to load your previous workspace(s). You might want to backup your workspaces folder, before letting Luna attempt and load from there.
Updating the eclipse through the command line is safer. Try it using eclipse site
and also refer to this answer
I find solution here https://bugs.eclipse.org/bugs/show_bug.cgi?id=440660#c20 on comment 20
This seems to be a bug in GTK according to https://bugs.launchpad.net/ubuntu/+source/gtk2-engines-oxygen/+bug/1242801
(there a similar problem for Meld was reported).
Another workaround mentioned there is
For oxygen, edit the normally already existing file "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" and change
GtkComboBox::appears-as-list = 1
into
GtkComboBox::appears-as-list = 0
This workaround is working for me.
This is a bit of a repost but the solutions proposed in the posts I found previously did not work for me, so I thought I might just as well start a new discusion.
I have a new Eclipse Indigo and I want to install the GWT-Plugin. I am running java Runtime Environment build 1.7.0.01 on a Windows OS (64 bit). The Eclipse is also the 64 bit version. I execute eclipse as administrator (but the same problem pops up if I don't).
Eclipse is told to juse java 1.6 as a compiler (since I hear there are issues with 1.7 and GWT).
So I click Help>>Install New Software and put in http://dl.google.com/eclipse/plugin/3.7 as a source. This then takes forever (Fetching Children of GWT) resulting in:
"Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/content.jar.
Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/content.jar.
Read timed out" as an error.
I have tried this all day. Once I at least could read the repository but could not install because of some unsatisfied dependencies. But that was on another eclipse distribution if I remember correctly.
So generally I don't seem to have any luck with GWT.
I would be greatfull for any advice to get GWT running. thanks.
Edit googled further, found a blog entry that told me to update to java 1.7.0_04. did that. no change.
Edit2 On the assumtion, that it is in fact not my eclipse but the google servers, I used the download of the plugin (as sugested by kush in the comments). This gets me to this screen http://i.imgur.com/0qV1v.png but not that much closer to the solutiuon.
"Cannot complete the install because one ore more required items could not be found."
I have tried this with Indigo and Helios, the ruslts are similar.
This took a while (three days) but the answer is as easy as it is strange: Do not use the 64 bit version of eclipse.
I would apreciate if someone finds out what the problem with the 64 bit versions is, but as soon as I started using the 32 bit version (which works fine on the 64 bit windows) everything installed perfectly.
Anyway, hope to help somone else with this post.
I have been struggling with this issue for days now. I cannot get the GWT eclipse plugin installed on my laptop. I am using the 32 bit version of eclipse. Plus, I can install the plugin just fine on the 64bit version of Eclipse on my PC, so I know that is not the issue.
Finally! I solved this.
Had to completely uninstall JRE 7 then everything installed fine.
I've just installed Eclipse Helios 64bit but when i try to install Acceleo, te download seems endless and Eclipse seems blocked.
Is there someone that can help me?
Thank you
The very first install of anything in a new Eclipse tend to be extremely long (Eclipse usually contacts all of its available update sites and checks for update on every single installed plugin before doing anything).
Within a new Eclipse and with a lot of update sites available, the longest I've seen it take for a single install was about 10 minutes. You can usually check whether Eclipse is actually doing something by opening the "Progress" view (Window > Show View > Progress).
I am one of the member of the dev' team of Acceleo and I am always working on a 64bits Eclipse with a 64 bits virtual machine and there are no problems. If you are experiencing this problem it is because of a timeout of the update site. Right now, it is the release of the sixth milestone of all the Eclipse projects so the server tends to be overloaded. You can try it again or just wait a few hours. If you absolutely want Acceleo today, you can always download the zip version directly from here.