gpt4 book ai didi

Adding JDK path from WSL2 Ubuntu to IntelliJ IDE frozen the screen(添加从WSL2 Ubuntu到IntelliJ IDE的JDK路径冻结屏幕)

转载 作者:bug小助手 更新时间:2023-10-24 23:25:27 32 4
gpt4 key购买 nike



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?

正如你们从图片中看到的。我正在尝试通过wsl2-ubuntu和IntelliJ连接,遵循这个文档https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html#local_project.当我给出JDK路径并点击Apply或OK时,它会冻结屏幕。每次我尝试时都会发生这种情况,只留下使用任务管理器关闭IDE的选项。我使用的jdk路径是:\wsl$\Ubuntu\usr\lib\jvm\java-11-openjdk-amd64.你知道它为什么会有这样的行为吗?


enter image description here


更多回答

HI, I am from JB support. Log and ThreadDumps are needed to see what is going on while the IDE is frozen. Please restart the IntelliJ IDEA, reproduce the freeze and share the logs folder via uploads.jetbrains.com. Tell the upload ID after that

大家好,我是JB Support的。需要使用日志和线程转储来查看在IDE冻结时发生的情况。请重新启动IntelliJ Idea,重现冻结状态,并通过ploads.jetbrains.com共享Logs文件夹。在那之后告诉上传ID

Hi @KonstantinAnnikov, I have uploaded the whole log folder. Upload id: 2021_07_22_Hh7GVgZBgJ7cyFu5 (file: log.7z)

Hi@KonstantinAnnikov,我已经上传了整个日志文件夹。上传id:2021_07_22_Hh7GVgZBgJ7cyFu5(文件:log.7z)

Could you please try 2020.2 Preview version jetbrains.com/idea/nextversion There were many improvements in this area that may already fix this problem. See youtrack.jetbrains.com/issue/IDEA-270081

你能试一下2020.2预览版吗?jetbrains.com/dea/nextversion.cn这方面有很多改进,可能已经解决了这个问题。再见。jetbrains.com/Issue/IDEA-270081

Thank @KonstantinAnnikov, version 2020.2 solved the JDK frozen issue. :)

感谢@konstantinAnnikov,2020.2版解决了jdk冻结问题。:)

@KonstantinAnnikov I'm using IntelliJ 2023.2, and I still got a frozen issue. Do you have any suggestions?

@KonstantinAnnikov我正在使用IntelliJ 2023.2,但仍然有一个冻结的问题。你有什么意见建议?

优秀答案推荐

You should shutdown any WSL instance before trying to add JDK WSL path via Intellij Idea.

在尝试通过IntelliJ IDEA添加JDK WSL路径之前,您应该关闭任何WSL实例。



Looks like this is still an issue at least with IntelliJ IDEA 2022.3.3 (Build #IC-223.8836.41). Every time I add a WSL JDK, it freezes.

看起来这仍然是一个问题,至少在IntelliJ IDEA 2022.3.3(Build#IC-223.8836.41)中是这样。每次我添加WSL JDK时,它都会冻结。



I just had this problem with IntelliJ IDEA 2023.2.1, so the issue persists in newer versions.
The issue is related to real time virus monitoring. You should create security exceptions for IntelliJ folders and processes as described in the following links. Good luck.

我刚刚在IntelliJ Idea 2023.2.1上遇到了这个问题,所以这个问题在较新的版本中仍然存在。该问题与实时病毒监控有关。您应该为IntelliJ文件夹和进程创建安全例外,如以下链接所述。祝好运。


https://intellij-support.jetbrains.com/hc/en-us/articles/360006298560

Https://intellij-support.jetbrains.com/hc/en-us/articles/360006298560


https://intellij-support.jetbrains.com/hc/en-us/articles/360005028939-Slow-startup-on-Windows-splash-screen-appears-in-more-than-20-seconds

Https://intellij-support.jetbrains.com/hc/en-us/articles/360005028939-Slow-startup-on-Windows-splash-screen-appears-in-more-than-20-seconds



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/

此问题已在IntelliJ IDEA的2021.2版中得到修复。在它发布之前,你可以从https://www.jetbrains.com/idea/nextversion/下载


更多回答

... And the same happens with 2023.1 RC

..。同样的情况也发生在2023.1 RC

Same here on 2023.1..

2023.1的情况也是如此..

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com