Running Wildfly from Intellij on OS X

My first attempt to start wildfly from IntelliJ IDEA 13 Ultimate didn’t work (glassfish 4 was ok, though):
The IDE said something like: “please run intellij idea at least with java 1.7”

whoot?! i’m on 1.7 jdk for quite some time time now.

What was the problem?
– first idea: check the active java version:

volkers-imac:~ mupfel$> /usr/libexec/java_home
volkers-imac:~ mupfel$>

Ok, fine here.
Please refer to Stackoverflow for details.

– 2nd idea: check the project setup:
intellij_project_structurejdk 1.7 here, too.
– ask google:
possible cause found: IntelliJ IDEA uses java 1.6 compatibility mode according to IntelliJ Support.

The rest is easy:
Change IntelliJ IDEAs default java version:
– Open the IDEA config file Info.plist in an editor:

You may want to keep a copy of the original file - just to be sure:
volkers-imac:~ mupfel$> cd /Applications/IntelliJ\ IDEA\
volkers-imac:~ mupfel$> cp Info.plist Info.plist.orig

volkers-imac:~ mupfel$> vi Info.plist

– search for the jvm option JVMVersion and change the value from 1.6* to 1.7*

value before:


value after change:


– save the file and restart IntelliJ IDEA – you’re done

About javavolker71

when i do not write posts on this blog, don't work on or try to break my code i'm spending a reasonable amount of time
This entry was posted in Java, JEE7, OS X, Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s