0

I am fairly new to java, and not very tech savvy, but I tried installing eclipse neon, version 4.6.0, on my computer. Once I got it, I ran eclipse, but after a few seconds it showed a screen with an error, exit code 13. I have the latest version of java, java 8, and I tried running eclipse with the command prompt and -vm command to specify where I am running java from.

eclipse.exe -vm C:\ProgramData\Oracle\Java\javapath\java.exe

and I used the javaw.exe file too. Neither worked. So how do I fix this problem?

1
  • 1
    Can you confirm if you are running Eclipse 32 or 64? And also if your Java 32 or 64 bit? (it has to match). If that doesn't work, check this page for more possible fixes / references: stackoverflow.com/questions/4945178/…
    – Darius
    Commented Nov 1, 2016 at 23:04

1 Answer 1

0

This usually means you are running a 32 bit Eclipse and 64 bit Java or 64 bit Eclipse and 32 bit Java. They must both be 64 bit or both 32 bit.

In the error dialog you can see which Eclipse you have by looking for the -arch line. If you have:

-arch x86

you have a 32 bit Eclipse, if it is

-arch x86_64

you have a 64 bit Eclipse.

There are lots more details in this Stack Overflow question.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .