Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse jvm.dll error when loading

Trying to open Eclipse after a couple of months and get this error:

Eclipse Error

So I checked that folder to see if it existed, and it did:

JVM.dll

I checked my PATH Was correct and it was also correct:

Computer PATH

When this error first occurred I had 3 Java installations. JRE 7 Update 10, JDK 7 Update 7 32bit and 64 bit.

I uninstall ALL and restarted my machine. Eclipse then stated, as expected that I needed a JRE or a JDK. So I downloaded and installed the latest JDK and now I get this error, despite everything appearing to be correct.

Any ideas?

like image 309
Dan James Palmer Avatar asked Jan 09 '13 19:01

Dan James Palmer


People also ask

What is JVM dll?

jvm. dll is the actual Windows implementation of the JVM (or better, the main entry point). C or C++ applications can use this DLL to run an embedded Java runtime, and that would allow the application to interface directly with the JVM, e.g. if they want to use Java for its GUI.

Where is JVM dll?

The file "jvm. dll" is in the folder "C:\Program Files\Java\jre1.

What is JVM error?

This JVM launcher error typically means that your computer can't read or understand the source code you're trying to execute. This error will also prevent you from opening your Java-based software.


1 Answers

As requested in the comments.

Your eclipse version is searching for the x86 version of the jdk (You probably set this value when eclipse started). You should check if your eclipse is a 64 bit version if not, switch to a 64bits jvm.

like image 174
VirtualTroll Avatar answered Sep 22 '22 19:09

VirtualTroll