如何在Ubuntu 15.04上安装Intellij?

时间:2015-06-07 01:19:27

标签: java ubuntu intellij-idea intellij-14

我一直收到这个错误:

miguel@Miguel:~$ cd '/home/miguel/Downloads/idea-IU-141.1010.3/bin' 
miguel@Miguel:~/Downloads/idea-IU-141.1010.3/bin$ ./idea.sh
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 
Unrecognized VM option 'MaxPermSize=350m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

这对我有用: 首先我删除了idea64.vmoptions文件中的“-XX:MaxPermSize = 350m”,然后我用下一个命令指向JAVA_HOME:

~$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle