Search code examples
javawindowsintellij-ideawindows-10windows-subsystem-for-linux

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 https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html#local_project. 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


Solution

  • This has been fixed in the 2021.2 version of IntelliJ IDEA. Until it is released, you can download it at https://www.jetbrains.com/idea/nextversion/