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
You have to have the latest JDK. I solved it by sudo apt-get install openjdk-8-jdk (Note the '8' in there)