tools.jar seems to be not in Android Studio classpath on Windows 8

后端 未结 16 2788
长发绾君心
长发绾君心 2020-12-05 02:05

I installed Android Studio but it was giving me error that I need to install JDK but JDK was already installed. Then I realized it is asking to install 64bit version of JDK.

16条回答
  •  猫巷女王i
    2020-12-05 02:28

    First locate in your PC the route of your JDK (for instance: First locate in your PC the route of your JDK (for instance: C:\Program Files\Java\jdk1.8.0_11)

    then change the JAVA_HOME variable as follows:

    Right-click the My Computer icon on your desktop and select Properties Click the Advanced tab Click the Environment Variables button Under System Variables, click New or edit it if there already a path for it ( you should make sure that the path is jdk) Enter the variable name as JAVA_HOME Enter the variable value as the installation path for the Java Development Kit)

提交回复
热议问题