0

I have installed JDK and JRE.

I just downloaded ADT PLUGIN x64 and x86 in my Win 8 pro x64.

But when I start Eclipse, it still says "A JDK or JRE is necessary to run Eclipse....not found in your PATH..."

I added the PATH to bin directory of JDK too but It did not work.

Umair Ayub
  • 19,358
  • 14
  • 72
  • 146

2 Answers2

0

possibly can have your jdk and jre duplicates. For safety uninstall completely and install again. As a recommendation works with the JDK and JRE for x86.

When you have them installed correctly added in the Windows environment variables JAVA_HOME the direction of JDK folder.

for example

JAVA_HOME = C:\Program Files(x86)\Java\jdk1.6.0_23

wgbeta
  • 1
  • 2
0

The problem is that Eclipse does not know where to find your JDK.

The easiest solution is to go into your Eclipse installation folder and edit the eclipse.ini file so that the top line contains

-vm
C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe

or wherever your JDK is located within your system.