Error when Starting Eclipse: 64 Bit on Windows 7- 64 Bit

Problem: Error occurred while starting eclipse 64 Bit on Windows 64 bit.

Errors:

  1.  Failed to load the JNI shared library “C:/{some library}/bin/client/jvm.dll”`.
  2.  Java was started but returned exit code 13

Image

Quick Solution:

  1. Download correct JDK and eclipse for windows 64 bit.
  2. Make sure all installation goes in “Program Files”.
  3. Correct the PATH variable for Java.
  4. Update the eclipse.ini for following value-

    -vm
    {path_to_64bit_java}\bin\javaw.exe

Explanation and Points to Remember:

  1. Eclipse looks for working and compatible java, which is specified above in step 4.
  2. Remember, irrespective of OS bits, eclipse and JDK must be of same bits only. Obviously OS bit should be higher or equal to JDK and eclipse as well. For example: You can not set up 64 bit eclipse on 64 bit OS using 32 bit JDK.
  3. Download JDK6 (or the JDK version on which you want to run) from JDK download. Select top most hyper link- at this time it is Java SE Development Kit 6u45. Accept the license agreement click to download 64 bit JDK as marked in red—Image
  4.  As well concern to the folder name convention, X86 is representation for 32 bit windows.
  5. While installing JDK make sure default installation directory is “Program Files” rather “Program Files (x86)”.  And if it is not you have downloaded 32 bit JDK.

Hope this solves the problem. If not just let me know your problem through comments or mail.

Happy Reading.

Nirbhaya Bhava!!

About these ads

Tagged: , ,

4 thoughts on “Error when Starting Eclipse: 64 Bit on Windows 7- 64 Bit

  1. […] Read this article: Error when Starting Eclipse: 64 Bit on Windows 7- 64 Bit | A thought … […]

  2. Joe August 7, 2013 at 2:44 pm Reply

    The best practice of installing JDK is *not* installing JDK in a folder which has a space in its name.

  3. tanzeemakhtar August 8, 2013 at 4:05 am Reply

    Thanks Joe for pointing this out. In my post just wanted to make sure that user has downloaded the 64 bit JDK.

  4. […] Error when Starting Eclipse: 64 Bit on Windows 7- 64 Bit | A … – Problem: Error occurred while starting eclipse 64 Bit on Windows 64 bit. Errors: Failed to load the JNI shared library “C:/{some library}/bin/client/jvm.dll”`. Java was started but returned exit code 13 Quick Solution: Download correct JDK and eclipse for windows 64 bit. Make sure all … […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: