Adding JDK path from WSL2 Ubuntu to IntelliJ IDE frozen the screen


As you guys can see from the images. I am trying to connect by WSL2-Ubuntu with IntelliJ by following this documentation When I give JDK path and click on Apply or Ok it froze the screen. This happens every time I try and only leaves with me the option to close the IDE using task manager. JDK path that I am using is: \wsl$\Ubuntu\usr\lib\jvm\java-11-openjdk-amd64. Any idea why it must be behaving in such a way?

enter image description here


This has been fixed in the 2021.2 version of IntelliJ IDEA. Until it is released, you can download it at

Answered By – Konstantin Annikov

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published