jdk not found in windows 7

I have installed jdk-7u7-windows-x64 on my windows 7 (64 bit) machine, but when I try to install to installer_r20.0.3-windows gives me the following error

Java SE Development Kit not found. Failed to find Java version on "C:\Windows\system32\java.exe". The system cannot find the file specified

I have set the system variable JAVA_HOME to

%Program Files%\Java\jre7\bin

but it doesn't help.

Answers


Since installer_r20.0.3-windows is the installer for the Android SDK;

From the System requirements of the Android SDK (here, click System Requirements)

JDK 6 (JRE alone is not sufficient)

You've installed JDK7 which is not listed as working. I'd recommend you install a 32 bit JDK6 since it's a known working configuration. 64-bit should work, but the installer is known to have had some issues with that version.


You set jre path not jdk path. After installing JDK, the default path is something similar to C:\Program Files\Java\jdk1.7.07. Add this to path as JAVA_HOME and then test the installation with cmd javac -version in command line.


i solved problem . first delete c:\windows\system32\java.exe . when deleted re install JDK and run installer_r22.0.1-windows ( ur version ) .


Need Your Help

UDF optimization in Hadoop

performance optimization hadoop apache-pig

I testing my UDF on Windows virtual machine with 8 cores and 8 GB RAM. I have created 5 files of 2 GB about and run the pig script after modifying "mapred.tasktracker.map.tasks.maximum".

UI state of activity not cleared when killing the activity while in background (on rooted phone)

android process android-activity

I need to delete the user data (username, password) of both the native Facebook app (com.facebook.katana) and the stock browser on Android (com.android.browser) on a rooted phone via command line (...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.