简体   繁体   中英

How do I install Intellij on Ubuntu 15.04?

I keep receiving this error:

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.

Does anyone know how to fix this?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM