Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CLion/PyCharm/PHPStorm/IntelliJ won't start, says "IDE has not been initialized yet"

When I try to start my CLion IDE (or another JetBrains IDE, like PyCharm, IntelliJ IDEA, PHP Storm etc), it fails, and I get the following message on the console:

IDE has not been initialized yet

(after the usual JVM warning I always get before and didn't prevent the IDE from starting up.)

Why is this happening? What can I do about it?

Notes:

  • I have a valid license.
  • May be related to this (resolved) issue for IntelliJ Idea.
like image 638
einpoklum Avatar asked Apr 15 '20 18:04

einpoklum


People also ask

How connect PyCharm to IntelliJ?

On Next Startup Area Select this option to have the Login to IntelliJ Configuration Server dialog displayed during the next PyCharm startup. Select this option to log in to the Server without asking for login and password. Select this option if you do not plan to log in to the IntelliJ Configuration Server.

Why project is not opening in IntelliJ?

The fix that worked for me: File > Invalidate Caches > (Select all) > Invalidate and Restart . This will remove caches and indices for all projects, and new caches will be built on re-open.

Why is IntelliJ not working?

So, in order to fix this issue, go to C:\Users\<your_username>\. IntelliJIdea<version>\config (or your OS' equivalent) and delete the idea.exe. vmoptions and/or idea64.exe. vmoptions file from there.

Does IntelliJ include CLion?

CLion Plugin Development CLion is an IntelliJ Platform-based product.


1 Answers

Another instance of the IDE may be running

While you might not see it for some reason, there is another instance of your IDE already running (probably for your own user). The error message is somewhat misleading.

Let's assume you're running CLion for example. The executable's name is clion. Look for it with the ps command: ps aux | grep -i clion, or with pgrep: pgrep clion. Then terminate it (e.g. using kill with the process ID), and re-run.

Caveat: There may not be the only scenario in which you get the same error message.

like image 120
einpoklum Avatar answered Sep 19 '22 03:09

einpoklum