Can't open IntelliJ on MacOs

Answered

When launching IntelliJ Ultimate (2016.3) I get:

The application “IntelliJ IDEA” can’t be opened.

Tried restarting and reinstalling, for no luck.

42 comments
Comment actions Permalink

Try running from the Terminal:

/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea

What error do you see?

7
Comment actions Permalink

You have edited the wrong file, please edit 

/Users/ohad/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions
2
Comment actions Permalink

Unfortunately it wouldn't fix the problem

1
Comment actions Permalink

So, the issue is caused by the invalid JVM option inside /Users/ohad/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions file.

Please fix it.

1
Comment actions Permalink
/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea
2017-03-10 23:31:39.190 idea[690:11244] allVms required 1.8*,1.8+
2017-03-10 23:31:39.221 idea[690:11248] fullFileName is: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions
2017-03-10 23:31:39.221 idea[690:11248] fullFileName exists: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions
2017-03-10 23:31:39.221 idea[690:11248] Value of IDEA_VM_OPTIONS is (null)
2017-03-10 23:31:39.221 idea[690:11248] Processing VMOptions file at /Users/ohad/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions
2017-03-10 23:31:39.226 idea[690:11248] Done
Invalid ReservedCodeCacheSize=4096M. Must be at most 2048M.
2017-03-10 23:31:39.337 idea[690:11248] JNI_CreateJavaVM (/Applications/IntelliJ IDEA.app/Contents/jdk) failed: 4294967295
0
Comment actions Permalink

Seems like I've set a wrong JVM flag ;)

0
Comment actions Permalink

Now it wouldn't respond to my editing.

0
Comment actions Permalink

Even though I have edited

/Applications/IntelliJ\ IDEA.app/Contents/bin/idea.vmoptions

The app still would not open with the same error message.

0
Comment actions Permalink

Great! it works now.

 

I have uploaded my logs, in case you are curious.

 

Big thanks Serge!!

0
Comment actions Permalink

Hi

Removing the idea.varfile fix the issue for me.

0
Comment actions Permalink

i remove it,then it would be working.thanks

0
Comment actions Permalink

Mahades-MacBook-Pro:~ mahadejhonny$ /Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea

-bash: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea: No such file or directory

0
Comment actions Permalink

I can't open it

0
Comment actions Permalink

Do you use IntelliJ IDEA Community or Ultimate? Did you install it from the .dmg or via https://www.jetbrains.com/toolbox/app/ ?

0
Comment actions Permalink

Idea Community

0
Comment actions Permalink

The path for IntelliJ IDEA Community on macOS would be /Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea if it was installed from the .dmg.

0
Comment actions Permalink

hey serge
can you tell about ultimate path in mac os for idea
thanks

0
Comment actions Permalink

/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea

0
Comment actions Permalink

Intellij IDEA CE is did not open on mac so which command i will write plzz help me

0
Comment actions Permalink

hey serge..!! plzz help

 

0
Comment actions Permalink

Your question is already answered above:

/Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea

0
Comment actions Permalink

but still did not work

0
Comment actions Permalink

"did not work" is not very informative.

Would you please be so kind to post the errors you've got? What IDE version did you install? Where did you install it from?

0
Comment actions Permalink

/Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea

after that what i will do

0
Comment actions Permalink

I was installed from official website

and intellij IDEA CE version

0
Comment actions Permalink

Any errors in the Terminal? Please attach the screenshot. What macOS version do you have?

Does it hang?

0
Comment actions Permalink
/Users/Kmustafiz774/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions
After put this command come no such file

.....?????

 

bash: /Users/Kmustafiz774/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions: No such file or directory

MACs-MacBook-Pro:~ mac$

0
Comment actions Permalink

ideaIC-2019.3.3 (2).dmg

downloded this version

0

Please sign in to leave a comment.