SDM
SDM

Reputation: 91

Eclipse is throwing error - Java was started but returned exit code= -805306369

When I am trying to run an application in Eclipse, it is getting hung and after 15 mins the following error is displayed. I am working on Eclipse from past 2 months and till now it was working fine. I am using Eclipse Indigo.

Error

Upvotes: 9

Views: 8875

Answers (5)

Lokesh Singal
Lokesh Singal

Reputation: 323

I was having the same issue where my application cannot be debugged in eclipse. Solution that worked for me :

Open the debug view and remove some breakpoints ( such as some remaining on NullPointersExceptions or ArrayOutOfBound exceptions)

It doesn't hang any longer.

Hope it helps :)

Upvotes: 0

Sasa
Sasa

Reputation: 565

JUST DELETE WORKSPACE(S) I had the same problem and its easily solved by deleting the my Workspace folders, in Eclipse --> File --> Switch Workspace ,I found the location of my Workspaces and I went to the direction and deleted them, after I did this my problem solved :)

Upvotes: 2

John Demetriou
John Demetriou

Reputation: 4377

Ways to Isolate and fix the error

  1. Try running other apps to see if the error is persistent among all apps.

  2. Try reinstalling (repairing) the latest version of java

  3. Try performing a fresh install of java

  4. Try re-downloading eclipse

Upvotes: 0

Rahul Tripathi
Rahul Tripathi

Reputation: 172448

You may check out the eclipse.ini file. From here

  1. Each option and each argument to an option must be on its own line.
  2. All lines after -vmargs are passed as arguments to the JVM, so all arguments and options for eclipse must be specified before -vmargs (just like when you use arguments on the command-line)
  3. Any use of -vmargs on the command-line replaces all -vmargs settings in the .ini file unless --launcher.appendVmargs is specified either in the .ini file or on the command-line. (doc)

Also the reason for the error may be that you are attempting to start Eclipse using the wrong version of the Java Virtual Machine (JVM). If that is the case you may use this to start eclipse with hardcoded 64-bit JVM:

eclipse -vm C:/java/jre/bin/server/jvm.dll

Also check Eclipse Crash “java was started but returned exit code = -805306369”

Upvotes: 0

cmd
cmd

Reputation: 11841

Trying starting Eclipse with a different 64 bit JVM. To do so:

eclipse.exe -vm c:\path\to\64\bit\bin\javaw.exe

If this works update the first two lines in your eclipse.ini file to the following:

-vm
c:\path\to\64\bit\bin\javaw.exe

Upvotes: 0

Related Questions