IntelliJ IDEA 安装问题解决
生活随笔
收集整理的這篇文章主要介紹了
IntelliJ IDEA 安装问题解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
報錯:
‘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.
總結
以上是生活随笔為你收集整理的IntelliJ IDEA 安装问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [论文翻译]Pedestrian Ali
- 下一篇: Ubuntu下pip3的安装、升级、卸载