Error execute unrecognized vm option ‘MaxPermSize=350m’ on Ubuntu 14.04

Help! Error to Execute/Install on Ubuntu
Like this >>>

dani@dani-pc:~$ cd android-studio/bin
dani@dani-pc:~/android-studio/bin$ ./
Unrecognized VM option ‘MaxPermSize=350m’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

And with some knowledge after searching on search engines, I open the studio.vmoptions file in edit mode and I found the following entries in the file.



I had been looking for a solution to this problem but I did not find it. This may be a trivial problem but i stuck with this and confusion how to solve it, what should I do? please help!

Source: ubuntu


  1. devansh trivedi

    Which JDK version have you installed?

  2. Edwin

    Oh I’ve solved this problem, I install Oracle JDK 9 when android studio runs on JDK 6 or JDK 7 (if I’m not mistaken). so I uninstalled Oracle JDK 9, then download and install the JDK 7.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.