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\"
./studio.sh
JAVA_HOME
for openjdk: export JAVA_HOME=/usr/lib/jvm/default-java
but you would better use the oracle jre to run android studio