Error log

The application /Applications/IntelliJ IDEA cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260 "The file “IntelliJ IDEA” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/, NSFilePath=/Applications/IntelliJ IDEA, NSUnderlyingError=0x600001df5530 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

This occurs if you install Ultimate manually after install community version. the script try to open the old version.

How to Fix

  1. Modify the script for idea command
sudo nano /usr/local/bin/idea

And modify the run_path from IntelliJ IDEA to IntelliJ