38

I've just downloaded the new Android Studio IDE released today, and installed it. When I double-click the icon to launch it, nothing happens. I've tried every shortcut to it, as well as the .exe in the installation folder.

I've also tried restarting the machine, uninstalling / restarting, and installing to a folder location without spaces. Does someone know why Android Studio won't start?

11

1 Answer 1

54

I set my JDK_HOME environment variable to point to my Java (1.7) JDK path, and it worked.

My JDK path was:

c:\Program Files\Java\jdk1.7.0_21

but it will vary depending on the version of your JDK.

For directions in setting PATH variables for windows see: http://java.com/en/download/help/path.xml

6
  • 1
    My google skills are failing me...how do I edit the "JDK_HOME" variable? As in where is it located? I have Java(1.7) installed
    – bvandrunen
    May 16, 2013 at 0:38
  • Go to the Environment Variables (Control Panel -> System -> Advanced System Settings -> Advanced (tab) -> Environment Variables). Then add JDK_HOME with the correct path under System Variables.
    – Yodacheese
    May 16, 2013 at 5:44
  • 2
    Also, note it isn't enough to add java home to the PATH variable, it is mandatory to create JDK_HOME
    – RMalke
    May 16, 2013 at 12:18
  • Looks like smart screen on windows 8 is the problem
    – Ravi
    May 19, 2013 at 7:54
  • For those who are on Linux Systems, make sure your desktop file contains this line: Exec=JDK_HOME="/usr/lib/jvm/icedtea-7/" /path/to/your/.../android-studio/bin/studio.sh Replace the JDK_HOME path to whatever yours is. Jul 20, 2013 at 1:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.