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
Avatar
Permanently deleted user

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?

8
Avatar
Permanently deleted user
/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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

Now it wouldn't respond to my editing.

0
Avatar
Permanently deleted user

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
3
Avatar
Permanently deleted user

Great! it works now.

 

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

 

Big thanks Serge!!

0
Avatar
Permanently deleted user

Hi

Removing the idea.varfile fix the issue for me.

0
Avatar
Permanently deleted user

i remove it,then it would be working.thanks

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

I can't open it

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
Avatar
Permanently deleted user

Idea Community

1

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
Avatar
Permanently deleted user

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

0

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

0
Avatar
Permanently deleted user

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

1
Avatar
Permanently deleted user

hey serge..!! plzz help

 

1

Your question is already answered above:

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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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

after that what i will do

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user
/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
Avatar
Permanently deleted user

ideaIC-2019.3.3 (2).dmg

downloded this version

0

请先登录再写评论。