Showing the message
'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.
how can i solve it
show me how install jdk properly
You can install JDK using following command :
sudo apt-get install openjdk-7-jdk
And then run
sudo update-alternatives --config java
command and select JDK instead of JRE. And then try to run
studio.sh
Hope it helps
sudo apt-get install default-jdk
instead of specifying version 7.
I removed android studio, Umake and zip. Then I followed the instructions on this link How to completely uninstall Java?. Then installed java7 jdk form software center. Finally i re-installed android studio using umake. Now it works like a charm!