IntelliJ IDEA 安装问题解决

来源:互联网 发布:数据字典 样例 编辑:程序博客网 时间:2024/06/09 19:03

报错:

‘tools.jar’ is not in IDEA classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.

解决方案:

Be sure you have a JDK installed on your system.

sudo apt-get install openjdk-7-jdk

If that does not solve your problem, you must tell your system to use that JDK instead of the current JRE. To do so, you choose which JDK/JRE you use by default on your system by executing the following command in terminal.

sudo update-alternatives –config java

This command will give you a list of alternative java options, which you will then be able select a JDK instead of JRE.

原创粉丝点击