Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319421

Summary: Eclipse Fails to Find
Product: [Tools] CDT Reporter: John Long <khun_john>
Component: cdt-otherAssignee: Doug Schaefer <cdtdoug>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3    
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Long CLA 2010-07-09 14:23:56 EDT
Build Identifier: eclipse-cpp-helios-win32-x86_64

Following a download of eclipse-cpp-helios-win32-x86_64, and following a double click on eclipse.exe, a message box reports:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH

>> I have, however, downloaded the latest releases of both JRE (Version 6 Update 20) and JDK.

>> I have updated the path to include C:\Program Files (x86)\Java\jre6\bin. Doing this creates other problems ("Failed to load the JNI shared library C:\Program Files (x86)\Java\jre6\bin\jvm.dll," which, in fact, is in that location).

>> I have directly copied javaw.exe in C:\eclipse\jre\bin\. Eclipse doesn't open after doing so.

>> The Eclipse web site recommends Java 5. Sun, however, says Java5 is EOL now (http://java.sun.com/javase/downloads/index_jdk5.jsp).

Reproducible: Always

Steps to Reproduce:
1. See details above.
2.
3.
Comment 1 Doug Schaefer CLA 2010-07-09 14:48:31 EDT
A couple of points.

1) CDT is just a part of eclipse-cpp. This problem has nothing to do with CDT.

and

2) You say you downloaded the x86_64, i.e. 64-bit, eclipse-cpp but then have the x86, i.e. 32-bit, JRE installed. They need to be the same.