A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.

I started learning development for Android and downloaded the Eclipse IDE that includes the Android SDK from the Android Development site. Eclipse should be installed after you installed the Java Runtime Environment.

On both my machines I received the below error when starting Eclipse. In my case I think it has to do with the fact that i installed Eclipse and the JRE to D:\ instead of the default locations in the installers.

eclipse error

 

 

 

 

 

 

 

 

 

I solved this issue by:

1. Right click the Eclipse exe and choose properties.
2. In the Target field add -vm “D:\Program Files\Java\jdk1.7.0\bin” behind the D:\adt-bundle\adt-bundle-windows-x86_64-20130729\eclipse\eclipse.exe
3. In essence it should look like your_drive_letter:\path to eclipse installation\eclipse\eclipse.exe -vm “drive_letter_where_JRE_is_installed:\Program Files\Java\jdk_version_number\bin”
4. Click apply and ok.

Eclipse should now start without any problems.

 

Advertisements

About Tiens van Zyl

I am a Microsoft Exchange Engineer for a local IT Outsource company assisting with 3rd line support to our Enterprise clients and Hosted Exchange Service. I'm a passionate gamer and also a very active musician. View all posts by Tiens van Zyl

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

%d bloggers like this: