Can't open IntelliJ on MacOs

已回答

When launching IntelliJ Ultimate (2016.3) I get:

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

Tried restarting and reinstalling, for no luck.

评论操作 固定链接

Unfortunately it wouldn't fix the problem

1
评论操作 固定链接

Try running from the Terminal:

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

What error do you see?

7
评论操作 固定链接
/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
1
评论操作 固定链接

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

0
评论操作 固定链接

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

Please fix it.

1
评论操作 固定链接

Now it wouldn't respond to my editing.

0
评论操作 固定链接

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
评论操作 固定链接

You have edited the wrong file, please edit 

/Users/ohad/Library/Preferences/IntelliJIdea2016.3/idea.vmoptions
2
评论操作 固定链接

Great! it works now.

 

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

 

Big thanks Serge!!

0
评论操作 固定链接

Hi

Removing the idea.varfile fix the issue for me.

0
评论操作 固定链接

i remove it,then it would be working.thanks

0
评论操作 固定链接

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
评论操作 固定链接

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

0
评论操作 固定链接

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
评论操作 固定链接

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

0
评论操作 固定链接

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

0
评论操作 固定链接

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

0
评论操作 固定链接

hey serge..!! plzz help

 

0
评论操作 固定链接

Your question is already answered above:

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

0
评论操作 固定链接

but still did not work

0
评论操作 固定链接

"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
评论操作 固定链接

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

after that what i will do

0
评论操作 固定链接

I was installed from official website

and intellij IDEA CE version

0
评论操作 固定链接

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

Does it hang?

0
评论操作 固定链接
/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
评论操作 固定链接

ideaIC-2019.3.3 (2).dmg

downloded this version

0

请先登录再写评论。