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\"
I solved the problem combining Jerome's and Jarod's answer:
sudo apt-get install openjdk-7-jdksudo nano /etc/environment
adding the following line:JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386Also I just found https://stackoverflow.com/a/17827697/2533809 which seems to have a nice write-up, pretty much the same answer.
(I'm using Debian 7 Wheezy)