Android Studio installation on Windows 7 fails, no JDK found

后端 未结 29 2099
鱼传尺愫
鱼传尺愫 2020-11-22 04:48

I downloaded Android Studio and attempted to launch the program.

This is running on Windows 7 64-bit with Java 1.7. During the installation my Java 1.7 is detected,

29条回答
  •  时光取名叫无心
    2020-11-22 05:21

    1. Add JAVA_HOME and JDK_HOME system environment variables.
    2. Right-click android studio (the 64 version if that's your OS and JDK) and go to compatibility tab and set "Run as administrator" to true.
    3. Run android studio and high-five me virtually when it works.
    4. If that fails, try "where java" in cmd.exe. If it lists c:\system32\java.exe first, then rename the file and try again.

提交回复
热议问题