2

I'm getting this while installing the Android studio.

enter image description here

I have installed the latest JDK7 on my system, and also set path in environment variables.

halfer
  • 19,824
  • 17
  • 99
  • 186
Qadir Hussain
  • 8,721
  • 13
  • 89
  • 124

2 Answers2

2

As you can see on your screenshort, you should set JAVA_HOME environment varible.

How to do that (Windows):

  1. Right-click the My Computer icon on your desktop and select Properties.
  2. Click the Advanced tab. Click the Environment Variables button. Under System Variables, click New.
  3. Enter the variable name as JAVA_HOME.
  4. Enter the variable value as the installation path for the Java Development Kit.
  5. Click OK.
  6. Click Apply Changes.
Divers
  • 9,531
  • 7
  • 45
  • 88
  • do you know how to import actionbar sherlock in android studio. I have updated to the latest version of android studio and tried alot about this but not success . – Qadir Hussain Jul 06 '13 at 18:30
1

The simplest way is to go to windows/system32/ and find java. Then just change the name java to java.exe for that file.

zgc7009
  • 3,371
  • 5
  • 22
  • 34
UDAYVEER
  • 11
  • 1