Android Studio error after ./studio.sh

前端 未结 12 1219
名媛妹妹
名媛妹妹 2021-01-30 10:49

After ./studio.sh in a terminal I get this error \"tools.jar is not in android studio classpath Please ensure JAVA_HOME points to JDK rather than JRE\"

12条回答
  •  离开以前
    2021-01-30 11:02

    I have figured it out. You need to install openjdk-jdk. Opensjdk-jre is not enough. So in terminal all you need to do is write sudo apt-get install openjdk-7-jdk then press yes. Open the android studio bin folder, double click on studio.sh, open in terminal, press enter, and then android studio should work.

提交回复
热议问题