How do I install Intellij on Ubuntu 15.04?

1.5k views Asked by At

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?

1

There are 1 answers

0
Soldeplata Saketos On

This worked for me: first I erased the "-XX:MaxPermSize=350m" inside the idea64.vmoptions file, then I pointed the JAVA_HOME with the next command:

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