Android Studio Ubuntu ‘tools.jar’ is not in the Android Studio classpath. Please ensure JAVA_HOME

来源:互联网 发布:辐射4 for mac 编辑:程序博客网 时间:2024/05/22 14:11

When setting up Android Studio on Ubuntu you might get the following error message:
‘tools.jar’ is not in the Android Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
This is caused by having JAVA JRE installed as opposed to JAVA JDK.

The solution is simple:
sudo apt-get install openjdk-7-jdk

0 1
原创粉丝点击