Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: Chachii on November 20, 2011, 06:48:49 PM

Title: Windows 7 jvm.dll file failed to load error
Post by: Chachii on November 20, 2011, 06:48:49 PM
I'm running Windows 7 64 bit on a custom built computer with 8 GB ram, AMD Phenom II 3.7 GHz processor, Asus Motherboard, and a 1 GB HDMI graphics card. 

The program I'm trying to use is Eclipse 64 bit edition.  I have JDK and JRE v6 u29 installed to my computer.  When I run the program I get the following error:

Code: [Select]
Failed to load the JNI shared library "C:\Program Files\Java\jre6\bin\client\jvm.dll"
My internet security is IObit Advanced System Care and Malware Defender.  I've tried reinstalling JRE and JDK 6u29 a few times as well as Eclipse.  All of the solutions I've seen on Google you had to pay for.
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: BC_Programmer on November 20, 2011, 07:37:56 PM
try this:

in eclipse.ini,after:

Code: [Select]
org.eclipse.platform
--launcher.XXMaxPermSize
256m
add:
Code: [Select]
-vm
C:\Program Files\Java\<your jdk version folder>\bin\javaw.exe
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: Chachii on November 20, 2011, 08:26:07 PM
try this:

in eclipse.ini,after:

Code: [Select]
org.eclipse.platform
--launcher.XXMaxPermSize
256m
add:
Code: [Select]
-vm
C:\Program Files\Java\<your jdk version folder>\bin\javaw.exe
I can't seem to find eclipse.ini.  Where would it be located?
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: BC_Programmer on November 20, 2011, 09:13:48 PM
The Eclipse install folder, by default; For example, I have Eclipse installed in D:\Programs\Eclipse. The ini file is D:\Programs\Eclipse\Eclipse.ini
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: Chachii on November 20, 2011, 10:55:58 PM
The Eclipse install folder, by default; For example, I have Eclipse installed in D:\Programs\Eclipse. The ini file is D:\Programs\Eclipse\Eclipse.ini
I don't have Eclipse installed, I was never given an installer when I downloaded from the site.  I just opened a zip file and extracted the contents.  Where did you download the installer at?
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: BC_Programmer on November 21, 2011, 05:48:32 AM
the install folder would be wherever you extracted the zip.
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: Chachii on November 21, 2011, 03:37:17 PM
Okay, I added that but it still gave me the error message.
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: BC_Programmer on November 21, 2011, 04:28:16 PM
What is "that" that you added. Did you make the appropriate replacements?
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: Chachii on November 21, 2011, 04:58:13 PM
I thought I was just supposed to add
Code: [Select]
-vm
C:\Program Files\Java\<your jdk version folder>\bin\javaw.exe
but when I deleted everything but that line and
Code: [Select]
org.eclipse.platform
--launcher.XXMaxPermSize
256m
it worked.  Thanks.
Title: Re: Windows 7 jvm.dll file failed to load error
Post by: BC_Programmer on November 21, 2011, 05:01:21 PM
Well that's good. You were supposed to replace the <your jdk version folder> with... well, your JDK version folder. Not sure if everything will work alright with a funked path.