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.

6

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

1

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

1

hey serge..!! plzz help

 

1

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$

1

ideaIC-2019.3.3 (2).dmg

downloded this version

0

请先登录再写评论。