Eclipse: Java was running but exit code -1073741571 returned

Closing Eclipse when loading any XML layout with this Java was started but returned exit code -1073741571 message Java was started but returned exit code -1073741571

my eclipse.ini

 -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813 -product com.android.ide.eclipse.adt.package.product --launcher.XXMaxPermSize 256M -showsplash com.android.ide.eclipse.adt.package.product --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms512m -Xmx1024m -Xss1024k -Declipse.buildId=v21.0.0-519525 

enter image description here

+2
source share
4 answers

Thanks to everyone for sharing the solutions with me, it looks like I messed up the xml (I'm still not sure if this is corrupted, but it made the IDE crash) here is a snippet:

 <com.android.example.EndlesScrollView... <FrameLayout... <LinearLayout... 

Every time I tried to use the Graphical layout view in eclipse, the IDE crashed, all I did was completely remove this XML and recreate it from scratch, something seems to be wrong with the XML tags that prevent Graphical layout from the correct display of the correct user interface.

+2
source

I noticed that the indicated virtual machine is: C: \ Windows32 \ System \ javaw.exe, which, I believe, is the installed version of Java 7. My configuration uses one of the previously installed JVMs (from my Eclipse.ini):

 -vm C:\Program Files\Java\jdk1.6.0_14\bin\..\jre\bin\client\jvm.dll 

You may need to upgrade Eclipse to use version 1.6 for Java. From Eclipse readme.html (located in the Eclipse installation directory):

 Specifying the Java virtual machine 

Here is a typical Eclipse command line:

 eclipse -vm c:\jdk1.4.2\jre\bin\javaw 

Tip. It is usually a good idea to explicitly indicate which Java VM to use when starting Eclipse. This is achieved using the -vm command line as shown above. If you do not use "-vm", Eclipse will look at the O / S path. When you install other Java-based products, they may change your path and may cause another Java virtual machine to be used the next time you start Eclipse.

+6
source

Sometimes this means that the workspace is damaged.

Create a new workspace and try the XML file.

+2
source

I had the same problem. What I did to overcome is very simple. I just downloaded the JRE and put it in the eclipse root folder, since by default eclipse looks for jre in this place. What is it....

0
source

All Articles