Skip to content

Instantly share code, notes, and snippets.



Last active Sep 12, 2015
What would you like to do?
IDEA 14 Community Edition: quick fix for vmoptions containing spaces

Normally vm options stored in idea.vmoptions and idea64.vmoptions contain no spaces. But whenever you need to set an option which contains one, the will fail.

A common use-case for a vm option containing a space is the following line:\ Nussbaumer

This will override the user name used in all templates with the given one. To get IDEA working with such a setting you have to edit file

At the very end of the script there is the following block:


Prefix this block with eval and quote the $VM_OPTIONS variable like this:



BTW, you don't have to modify the global vmoptions files. You can to it in IDEAs local configuration directory. For IDEA 14 community edition this directory is located at $HOME/.IdeaIC14/config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment