The command
$ ~/android-studio/bin/studio.sh
says
'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.
I have searched for the solution to this error, and as far as I can tell, I've done everything right to correct this error. But it still persists.
sudo apt-get install openjdk-7-jdk
(CHECK)JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
(CHECK)sudo update-alternatives --config java
* 0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
find /usr/lib/jvm | grep tools.jar
- finds nothing. (FAIL)
What am I missing?
JAVA_HOME
in the correct config file.