tools.jar is not in Android Studio classpath

Asked By 40 points N/A Posted on -

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.


‘tools.jar’ is not in Android Studio classpath.

Please ensure JAVA_HOME points to JDK rather than JRE.

Answered By 1065 points N/A #188185

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:


Finally, reboot and start the Android Studio. Don't forget to add a link to the under the main menu.


Login/Register to Answer

Related Questions