添加 JDK 从 WSL2 Ubuntu 到 IntelliJ IDE 的路径冻结了屏幕

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

正如你们从图片中看到的那样。我正在尝试按照此文档 https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html#local_project 通过 WSL2-Ubuntu 与 IntelliJ 连接。当我给出 JDK 路径并单击“应用”或“确定”时,它冻结了屏幕。每次我尝试时都会发生这种情况,并且只留下使用任务管理器关闭 IDE 的选项。 JDK 我使用的路径是:\wsl$\Ubuntu\usr\lib\jvm\java-11-openjdk-amd64。知道为什么它必须以这种方式运行吗?

此问题已在 IntelliJ IDEA 2021.2 版本中修复。在发布之前,您可以在 https://www.jetbrains.com/idea/nextversion/

下载