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

后端 未结 16 2791
长发绾君心
长发绾君心 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条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 02:38

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

    then change the JAVA_HOME variable as follows:

    1. Right-click the My Computer icon on your desktop and select Properties
    2. Click the Advanced tab
    3. Click the Environment Variables button
    4. Under System Variables, click New
    5. Enter the variable name as JAVA_HOME
    6. Enter the variable value as the installation path for the Java Development Kit

提交回复
热议问题