What could cause EasyEclipse to terminate with error window? - eclipse

When I start EasyEclipse, I get error:
JVM terminated. Exit code=127
Do you have any idea as to the possible cause for this kind of error message?

If this happen right from the start, it may be related to your eclipse.ini content.
See this one (for Eclipse 3.6 Helios),
and check the end of each lines of your eclipse.ini: there should be no extra space.
After that, it depends on:
the exact Eclipse version
the exact JVM used to launch said Eclipse
your platform (OS)
See for instance bug 174642.

Related

Why does eclipse close by itself while running?

It's been happening lately for some unknown reason.I have the latest version of Eclipse ADT (25 Sept 2014) and it just shuts off while I'm working. Any ideas?
Start Eclipse from a terminal to see the standard output. Chances are that the Java VM runs into a problem because of SWT which can crash the VM. Note: If you're using Windows, you may have to use java.exe instead of javaw.exe to get output.
Also look into the Error Log. Eclipse has a view for that or look into the file .../workspace/.metadata/.log The file might contain an error message.
If you find an error in either the console or the error log, let us know and we might be able to help.
The issue could also be because of the JVM that was chosen for the project.

JVM terminates with exit code 14 when trying to launch Eclipse

I've just connected to a machine I never worked on, and tried to run Eclipse there. Unfortunately, I got the error:
Eclipse:
JVM terminated. Exit code=14
(my configuration details here)
I guess there's either a problem with my configuration or with that machine's setup, but Exit code=14 does not give me a lot of information to go on. What does that mean? Where should I start?
I intentionally omitted my configuration details because I'm looking for a general explanation of that exit code, not a specific fix for my configuration.
It could be related to bug 9027: Workbench should check JDK version on startup
You could have an incompatible (ie too old) JVM: the code 14 has been referenced in this comment as:
The main launcher detects the JVM terminates with exit code 14. Is the
following message sufficient?
Please use a newer VM. Eclipse requires at least 1.3.1.
It can also be related with an incompatibility between what is installed on the system and what Eclipse needs when launching: see for instance this example.
Just to add to #VonC's answer, the Eclipse source code has this to say:
// Check to see if we are running with a compatible VM.
// If not, then return exit code "14" which will be recognized
// by the executable and an appropriate message will be displayed
// to the user.
if (!isCompatible())
System.exit(14);
(Source: http://svn.netlabs.org/repos/swt/trunk/src/plugins/org.eclipse.platform/src/org/eclipse/core/launcher/Main.java)
So I suggest checking whether you have a compatible JVM.

Java was started but returned exit code=1073807364

I am using STS, jdk 1.6. It was working fine until now. I am getting this STS pop-up when I start it.
Java was started but returned exit code=1073807364
C:/jdk1.6.0_18/bin/javaw.exe
-Dosgi.requiredJavaVersion=1.5
...
... /15 more lines of stack on the pop-up window.
Any idea?
Found this; Looks like there is no one problem, that error code can come from a variety of events.
From what I can tell, this error code (0x40010004) arises in all sorts of situations, with (as you noted) no obvious common thread.
However this page says "0x40010004" means "the task is running"! So, I would surmise that the correct way to interpret it is as saying "this tasked has exited in a way that prevented it setting a proper exit code".
I don't know if this will help, but I would try looking in the Windows Event logs to see if the problem is being reported there.
found here: What is the cause of JVM exit code 1073807364?
From my experience, that error (described as "task is running") occurs when there is a thread in blocking mode, and the thread cannot be terminated by being interrupted (per the rules) so it lingers, causing the program to hang, and requiring a kill shot. I have experienced that error as recently as today (Sept 5, 2012), and that was the cause (because I did it deliberately).
There may be other causes, but that is one distinct possibility.
All I can suggest is updating your JDK to the latest release (1.6.0_23) and STS to the latest version (2.5.2) and seeing if the problem still persists.

Eclipse CDT: org.eclipse.cdt.internal.ui.text.CReconciler, java.lang.OutOfMemoryError

I can run Eclipse with CDT for about 15 minutes before it crashes with a java heap space out of memory error. Its always associated with the org.eclipse.cdt.internal.ui.text.CReconciler thread. It's gotten to the point where I'm running on auto pilot when it happens: "rm .lock", "y", "eclipse&" and away I go. I can't find relevant information with the Google nor have I found a similar post on SO. Anyone else run into this kind of issue before?
I'm using
Eclipse 3.6.1, Build ID: M20100909-0800
CDT 6.1
Subversion 2.2.1
Pydev 1.6.3.2
OS: Red Hat 2.16
Intel quad core machine, single monitor
I don't have root access. I don't know what other information someone might need to help diagnose this. IT person has tried to find more information but even he doesn't know what's going on. This is not strictly an issue with just my computer either.
It is possible that you need more heap space than the default Eclipse setting provides. Try launching Eclipse with 1G of heap by editing eclipse.ini and change the line starting with -Xmx to
-Xmx1024m
Alternatively you can launch from the command line with
eclipse -vmargs -Xmx1024m
[UPDATE - probably should have been suggested first ]
Tail the log file at _<workspace>_/.metadata/.log to see if there is any recurring event or error that might be leaking memory.

Hot Code Replace Failed (eclipse)

"Hot Code Replace Failed - add method not implemented".
I get this error message every time I change something in my test class (and save it).
Can't figure out what it means. Can somebody help?
Possibly, you have a test which is still running (in debug mode). Try finishing all tests (you can see them in the debug view: window->show view->debug) and try again...
See this thread:
This means you changed a class while it was debugging an application and it could not update the class for the application while it was running.
The error suggests you may be running an older JVM, i.e. pre-1.4.2 but this error can occur with any JVM if the change is incompatible with the previous version of the class.
Check carefully what JRE you are using in your debug session.
Also check you are deploying classes compiled with the debug attribute set. (see this thread)
Finally, as indicated here:
did you switch "Project->Build Automatically" off?
Hot code replacement works (only?) if automatic build is switched on...
I was running into this issues too. I found a build hiding in the backgound that was giving me fits. Check to make sure you have all tests/builds closed or completed. Nonetheless, you can still run the new code.
Whenever this error message appears it also gives options to terminate or restart. Select Terminate and it will terminate any running debug case which you are unable to locate.
if you have multiple projects involved, and multiple jre's installed, make sure all dependent projects are using the same javac/jre
Make sure your application server JRE and Eclipse JRE version should be same or else it will throw unsupported class version and hot code debug will not work.
I went to the same Problem,But my Debugging session ended hours ago.But still ECLIPSE error kept coming.
So I just simply restart the ECLIPSE IDE, then the problem just solved.