Asked By
Jon L Sturm
40 points
N/A
Posted on - 02/19/2014
Hello there,
Recently I have download and installed the latest version in Android Studio. Now I am getting an odd error message after I start the application. Do I need to update anything else in the computer to avoid this error? I do not have any idea please help me to solve this error. Thank a lot.
Error.
‘tools.jar’ is not in Android Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
tools.jar is not in Android Studio classpath
First of all, ensure that Java JDK is installed properly:
Dpkg –list | grep -i jdk
If its not properly installed, run the following:
Sudo apt-get install openjdk-7-jdk
And then the Environment variable:
Sudo nano /etc/environment
and add the code below:
JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386
Finally, reboot and start the Android Studio. Don't forget to add a link to the studio.sh under the main menu.
Â