Tried googling but couldn't found the solution.
Using Windows 7 Ultimate 64 bits.
I have java(64 bits) installed here : C:\Program Files (x86)\Java\jre7
Downloaded Android SDK from here Get the Android SDK
I downloaded the 64 bits considering my windows is 64 bits. Was 32 bits required?
Now whenever i run eclipse.exe I get the following error:
A Java Runtime Environment or JDK must be available in order to run Eclipsec. No java virtual machine was found after searching the following location: C:\Users..\Downloads\adt-bundle-windows=x86_64-3013131030\adt-bundle-windows-x86_64-20131030\eclipse\jre\bin\java.exe
Sorry can't post a screenshot because don't have any reputation as of now here.
So what should I do?
Do I need to install 32 bit Java or download 32 bit SDK ?
PS: Before running Eclipse I have run "SDK Manager" and it installed some necessary tools. Maybe if this helps.
Add the -vm flag to fix the Eclipse JRE or JVM must be available error. And that's it. Make the change, save the file, and then re-run the Eclipse installer. The Eclipse “No Java virtual machine was found” error will go away, and the Eclipse IDE will be successfully installed on your desktop.
Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to run. Note that on recent versions of Mac, a full JDK needs to be installed, not just a JRE; see instructions below.
Download and Install JDK, Eclipse (IDE) To develop and run any java program you need to install JDK in your system. You can download the latest version of Java from here http://www.oracle.com/technetwork/java/javase/downloads/index.html).
Just Set your environment variable. Goto to Computer properties -> Advance System Setting -> Environment variables -> System Variables -> path and after a semi colon paste the path of your JRE like this C:\Program Files\Java\jre7\bin click on ok.
Open CMD and type java if this command works properly means your path has been set now. just open you eclipse and it will work this time. You can do this through command line too just type set PATH=C:\Program Files\Java\jre1.6.0_03\bin and press enter.
If still it is not working just paste this set PATH=C:\Program Files\Java\jre1.6.0_03\bin in your eclipse.ini file :)
You have a 32-bit Java. "Program Files (x86)" is for 32-bit programs on a 64-bit system. Either install a 64-bit Java and use the download you have, or get the 32-bit download.
You need to use any of the following configurations:
x64 System, x64 JDK, x64 ADT Bundle
x64 System, x86 JDK, x86 ADT Bundle
x86 System, x86 JDK, and ADT Bundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With