Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : set an Environment variable JAVA_HOME to point to it?

Tags:

android

I am trying to plug-in android in to my laptop Configuration: vista OS, 64 bit and RAM 4GB I install the Eclipse, JDK 7 and installer_r18_windows.exe file from android site. when I try to run the windows installer it shows the message

Error:Failed to find the java version for C:\Windows\System32\java.exe: the system cannot find the file specified. and at last if you believe you have a JDK installed and it was not properly recognized,simply set an environment variable JAVA_HOME to point to it

I don't know how to set an environment variable. How to solve this problem ?

like image 871
BigBoss Avatar asked Feb 10 '26 13:02

BigBoss


1 Answers

Step 1 Make sure You have installed Java 64 bit version

Step2 copy c:\windows\system32\java.exe to c:\windows\syswow64

And last to learn How to set Environment Variables here you go

http://java.com/en/download/help/path.xml

Last Thing

If you are installing 32bit java version Installation path will be

C:\Program Files (x86)\Java\jdk1.6.0_21\bin

If you are installing 64but java version Installation path will be

C:\Program Files\Java\jdk1.6.0_21\bin

So set this path in Environment variables.

like image 65
Vipul Avatar answered Feb 13 '26 17:02

Vipul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!