You could edit the eclipse.ini file. Before -vmargs
(maybe best on top of the file) you could insert -vm
C:\Program Files\Java\jdk1.6...\bin\javaw.exe
(the path to your preferred JRE or JDK).
Then Eclipse uses that.
Domanda
I got this error while installing Android Development bundle.
I have installed both JDK 1.6 and JDK 1.7 in my Windows 8 PC. I downloaded the ADT bundle and opened the eclipse.exe bundle and got this error.
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.5', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment.
I went to the registry error and followed the following procedure and it worked.
My doubt is what version of Java is Eclipse using. If I want to use the Java version 6.
How to resolve this error?
Soluzione
You could edit the eclipse.ini file. Before -vmargs
(maybe best on top of the file) you could insert -vm
C:\Program Files\Java\jdk1.6...\bin\javaw.exe
(the path to your preferred JRE or JDK).
Then Eclipse uses that.
Altri suggerimenti
About your question on version of JAVA to use,
You need to use JDK 1.6. Check the System requirements in the link below. http://developer.android.com/sdk/index.html
Do not forget to add Java(bin of jdk and jre) to the Windows path
You might have 2 version of jdk installed in your system.