Search code examples
intellij-ideainstallationstartup

Intellij 2020.3.2 only starts once / never able to start again after closing


im really lost here, re-installed multiple times and every time i open intellij for the first time it works but after that it just doesnt do anything..

tried suggestions i found on the internet like editing the idea.exe.vmoptions file but to no result. Most suggesstions says that you have to increase xms and xmx but that did nothing for me.

this is the original idea.exe.vmoptions:

-server
-Xms128m
-Xmx512m
-XX:ReservedCodeCacheSize=384m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off

edit: running the idea.bat from command line DOES start intelliJ gives this warning:

 C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 
 2020.3.2\bin>.\idea.bat
 OpenJDK Server VM warning: Option UseConcMarkSweepGC was deprecated in 
 version 9.0 and will likely be removed in a future release.

any help would be greatly appreciated!


Solution

  • The issue was caused by the corrupted or incomplete OS installation / system libraries missing.

    Logs contained the following:

    Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.2\jbr\bin\awt.dll: Can't find dependent libraries 
    

    The issue was fixed by reinstalling https://aka.ms/vs/16/release/vc_redist.x64.exe.