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

后端 未结 16 2790
长发绾君心
长发绾君心 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:29

    I add a similar problem on Linux. In my case my JAVA_HOME env was pointing to the JRE HOME instead of the JDK HOME.

    On my linux system I had done:

    sabayon ~ # eselect java-vm list
    Available Java Virtual Machines:
    [1]   icedtea-bin-8 
    [2]   oracle-jdk-bin-1.8 
    [3]   oracle-jre-bin-1.8  system-vm
    
    sabayon ~ # eselect java-vm set system 2
    

    And then Android Studio started like a charm. Download and install the SDK.

提交回复
热议问题