惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
V
V2EX
博客园_首页
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
H
Help Net Security
A
About on SuperTechFans
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
云风的 BLOG
云风的 BLOG
D
Docker
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
aimingoo的专栏
aimingoo的专栏
Hacker News: Ask HN
Hacker News: Ask HN
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy International News Feed
T
Troy Hunt's Blog
T
Tenable Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Recorded Future
Recorded Future
F
Fortinet All Blogs
D
DataBreaches.Net
B
Blog
T
Threat Research - Cisco Blogs
MyScale Blog
MyScale Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
The GitHub Blog
The GitHub Blog
Security Latest
Security Latest
M
MIT News - Artificial intelligence

JetBrains

Jetbrains 针对 JetBrains AI 限制中国地区访问 - V2EX J(et)B(rains)来通知了, 没用的 AI 点数将转换为产品使用许可 - V2EX idea 窗口失焦后,标题栏会出现文字重影 - V2EX 订阅了五年,不想再订下去了,有点纠结。 - V2EX ACP Commit Message - 在 JetBrains 中使用自定义 acp 生成 git commit 记录 - V2EX jetbrains 又一款产品落幕——dataspell 停止运营了 idea 系列的编辑器复制的代码无法复制到钉钉是咋回事? 现在在 Jetbrains 上使用 ai 最好的方法是什么 想试试新出的 JetBrains Air,但是提示所在地区不支持 大家的 jetbrains 还续费吗? IDEA 怎么使用 Cursor 的自动补全呢 PyCharm 官网自动重定向到 JetBrains AI - V2EX IDEA 有什么好用的 tab 补全? - V2EX 关于 intelliJ 类似 IDE 的 AI 窗口调整 - V2EX idea 2026.1 发布了 - V2EX 感觉 pycharm 越来越难用了,现在 debug 都没以前舒服了 - V2EX 各位友友有没有遇到 JetBrains Codex 不能代理的情况 - V2EX 看见 V 站没人说, JetBrains 也出了个 Agent IDE,叫 Air - V2EX JetBrains Air 发布 - V2EX idea 的 Java 代码内,是否可以像 css 文件内联显示颜色? - V2EX 求教 JB AI Assistant 里的 Claude Agent 不使用用户配置文件吗 - V2EX Jetbrains 党可能迎来了春天,Cursor/OpenCode/Kimi 订阅都可以接入 IDEA - V2EX IDEA 无法安装插件,求助,急死我了! - V2EX 升级 IntelliJ IDEA 2025.3.3 版本后啥也不干就大量能耗,怎么回事? - V2EX 新版 idea 自动把大写的变量名识别成类名了 - V2EX Goland 打开在 WSL 里的带 go.work 的项目, 总是会飘红 - V2EX JetBrains IDEs 最新版,已集成 Codex 插件 - V2EX [求助] idea 运行 Java 项目时各种失败报错,是不是和其他 AI IDE 交替使用导致的? - V2EX JetBrains IDEs 限时免费使用 Codex - V2EX IDEA(Android Studio)如何批量打断点? - V2EX idea 多开项目时,弹窗实际上是全局模态框 - V2EX 为什么几乎没有基于 IDEA 社区版的魔改? - V2EX jetbrain 家的东西有个必现的问题 - V2EX 关于 idea 调试关闭时操作 - V2EX 使用 IntelliJ 中自带 AI Assistant + Junie 的网络配置教程 - V2EX idea 合并版有问题? - V2EX idea2023.3.1 总是卡死,必须删除.idea 目录才能恢复 - V2EX 请问大家 JetBrains Rider 有没有通用的 AI 工具插件呢? - V2EX IDEA 2025.3 版本开始全部免费了? - V2EX IDEA 的 JetBrains AI Assistant 怎么使用? - V2EX IDEA2025.3,注释/代码里中英文混排时无空格会报 Typo,如何禁用这个检查? - V2EX jetbrains 的 fleet 终究是没能等来正式发布, jetbrains 宣布其即将停止下载 - V2EX 有什么像 IDEA 冲突合并一样好用的 git 冲突合并工具吗? - V2EX Intellij IDEA 2025.3 免费版开放了很多实用功能,完全足够完整的 spring 项目开发流程 - V2EX 请问各位老哥们, Intellij IDEA 最稳定的版本是哪个?手上的版本好多年没升级了 - V2EX JetBrains IDE 更新会伴随一大堆 bundled plugins 更新 - V2EX JetBrains 2025 年开发者生态系统报告 - V2EX idea2025.3 里的 jshell 没了? - V2EX 昨天发布的 IntelliJ IDEA 2025.3 版本有谁试了么? - V2EX Jetbrains 的家的 Fleet 果然烂尾了! - V2EX jetbrains 的 copilot 插件 没有 最新的几个模型吗? - V2EX Jetbrains 家的 IDE 智能提示终于有好用的了,那就是 Qoder ! - V2EX 更聪明的 Git 工作流助手 AI 提交生成 + 团队贡献洞察 - V2EX Jetbrains 近期会有优惠活动吗 - V2EX 改成了 Shenandoah,内存降了 7% - V2EX JetBrains IDE 对 字体连写支持的不太好? - V2EX DataGrip 连接 OceanBase 不显示表注释, Oracle 可正常查看,真是太难受了 - V2EX 大家在 window 使用 jetbrains 软件,都上多大内存?我使用 datagrip, webstorm, pycharm, 32G 内存感觉都不行 - V2EX JetBrains 的独立 git 客户端 Git Client 停止开发了 Jetbrains 终端启用 codex,按 Backspace 键或空格键会吞中文字符,各位有遇到吗,很苦恼
IDEA+wsl2 环境搭建求助 - V2EX
insert000 · 2025-12-17 · via JetBrains

这是一个创建于 180 天前的主题,其中的信息可能已经有所发展或是发生改变。

IDEA 安装在物理机器上,JDK 和 maven 都安装在 WSL2 子系统的 Ubuntu 上。项目也在 Ubuntu 子系统的目录中,配置如截图,运行 IDEA 自带的 MAVEN 插件 clean ,test 等均报错

\\wsl.localhost\Ubuntu-24.04\home\abner\app\apache-maven-3.9.11\bin\mvn.cmd -Didea.version=2025.3 -Dmaven.ext.class.path=E:\soft\JetBrains\IntelliJ IDEA 2025.3\plugins\maven\lib\maven-event-listener.jar -Djansi.passthrough=true -Dstyle.color=always -s \\wsl.localhost\Ubuntu-24.04\home\abner\.m2\settings.xml -Dmaven.repo.local=\\wsl.localhost\Ubuntu-24.04\home\abner\.m2\repository clean -f pom.xml
'\\wsl.localhost\Ubuntu-24.04\home\abner\project\java\hd\urthink-base-admin'
用作为当前目录的以上路径启动了 CMD.EXE 。
UNC 路径不受支持。默认值设为 Windows 目录。
The JAVA_HOME environment variable is not defined correctly, 
this environment variable is needed to run this program. 

图片配置: https://imgur.com/a/daAL0kZ

第 1 条附言  ·  2025 年 12 月 18 日

解决了,在 Settings->build->maven->runner->jre 下选择 WSL 的 JDK 就行

yukunZhan9

1

yukunZhan9      2025 年 12 月 17 日

你这 idea 是用的 windows 本地的吗?推荐使用 jebrains gateway 连到 wsl 里的 idea 做开发就不会有这个问题了

Mogugugugu

5

Mogugugugu      2025 年 12 月 17 日

你这样性能很差的,各种奇葩问题,换 gateway,但是 gateway + wsl2 也问题挺多的,内存小的机器不建议搞。

wsl2 的核心玩法都是把整个环境+代码全部放到 wsl2 中,然后在 Windows 中远程连接,像是 VS Code 和 JBd 都是在 wsl2 中单独启动一个 Server,Windows 中的相当于客户端,所有的编译等操作都放在 WSL2 里面的 Server 端进行。

不是劝退你哈,IDEA+WSL2 无论使用哪种解决方案都有不爽的点,之前折腾过,全部放弃了。用 VS Code + WSL2 写 Java 都比 IDEA+WSL2 的方式要舒服,这俩就天生不配。

holyliao

8

holyliao      2025 年 12 月 17 日

我是使用 wslg, idea 都安装在子系统中,凑合能用

Plutooo

9

Plutooo      2025 年 12 月 17 日

好奇这样的好处是啥

lisxour

11

lisxour      2025 年 12 月 17 日

@Plutooo 玩得多 wsl 的都知道,这是纯搞自己而已,很多人都把 wsl 当成是真正的完整独立 linux 了

WashFreshFresh

12

WashFreshFresh      2025 年 12 月 17 日

idea/jdk/maven/项目都装在了 wslg 里,强行工作了一年,只能说很痛苦,一方面是时不时卡死,一方面是输入法用起来很痛苦,不跟光标,至于为啥这么痛苦还坚持了一年,因为 Windows 编译启服务耗时 200s ,linux 60s 不到,后来用了 JRebel 就只用 Windows 了。

Mjhhh

13

Mjhhh      2025 年 12 月 17 日

同样是 IDEA 2025.1 + wsl2 开发,目前没有很顺畅,性能也很好

orrinex

14

orrinex      2025 年 12 月 17 日

我用 windows 下的 idea 打开 wsl2 下的项目,根据官方的说法是没问题的,但实际用下来全是 bug 。

使用 gateway 去远程到 wsl2 勉强可用,就是插件有的有 bug 。

zed1018

15

zed1018      2025 年 12 月 17 日

我建议是在 ws 里装 idea 直接走 wslg 。唯独就是输入法我没搞好,后来还是用 gateway 了

Mjhhh

17

Mjhhh      2025 年 12 月 17 日

@insert000 #16 可以的,你试试在 idea 中双击 ctrl ,输入 mvn --version ,看看用的是 wsl 中的 maven ,还是 idea 的 maven ,我建议是用 wsl 的

insert000

18

insert000      2025 年 12 月 17 日

@Mjhhh \\wsl.localhost\Ubuntu-24.04\home\abner\app\apache-maven-3.9.11\bin\mvn.cmd -Didea.version=2025.3 -Dmaven.ext.class.path=E:\soft\JetBrains\IntelliJ IDEA 2025.3\plugins\maven\lib\maven-event-listener.jar -Djansi.passthrough=true -Dstyle.color=always -s \\wsl.localhost\Ubuntu-24.04\home\abner\.m2\settings.xml -Dmaven.repo.local=\\wsl.localhost\Ubuntu-24.04\home\abner\.m2\repository clean -f pom.xml
'\\wsl.localhost\Ubuntu-24.04\home\abner\project\java\hd\urthink-base-admin'
用作为当前目录的以上路径启动了 CMD.EXE 。
UNC 路径不受支持。默认值设为 Windows 目录。
The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program. 看报错是走的 WSL 的 maven

Mjhhh

19

Mjhhh      2025 年 12 月 17 日

@insert000 #18 这是我执行 mvn --version 打印的信息,给你参考下/bin/sh /usr/share/maven/bin/mvn -Didea.version=2025.2.2 -Dmaven.ext.class.path=/tmp/CKHrIJmaven-event-listener.jar -Djansi.passthrough=true -Dstyle.color=always -s /home/user/.m2/settings.xml -Dmaven.repo.local=/home/user/.m2/repository --version -f pom.xml
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 17.0.9, vendor: GraalVM Community, runtime: /home/user/.sdkman/candidates/java/17.0.9-graalce
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "6.6.87.2-microsoft-standard-wsl2", arch: "amd64", family: "unix"

XR843

20

XR843      2025 年 12 月 17 日

虽然是把代码、JDK 和 Maven 都放在了 Ubuntu (WSL2) 里,但 IDEA (运行在 Windows 上)错误地试图用 Windows 的方式(调用 cmd.exe 和 mvn.cmd )去执行位于网络共享路径( UNC 路径 \\wsl.localhost\...)下的程序。这是关键问题所在的。

hopeT

21

hopeT      2025 年 12 月 26 日   ❤️ 1

捣鼓了一下,V 友们有遇到这个问题么,我用 maven 可以编译成功,但用 idea 原生的构建,就提示未能找到兼容的 JDK

wangsd

25

wangsd      1 月 16 日

@holyliao 想知道中文输入法是怎么解决的,我用 WSLg 启动 IDEA 里面用不了中文输入法,mousepad 这些都可以。

holyliao

26

holyliao      1 月 16 日

@wangsd 之前可以,win11 最近几个月的更新,好像在 idea 就不能使用输入法了,搞了很多方式,我放弃了

wangsd

27

wangsd      1 月 16 日

@holyliao 那可能不是 Windows 的原因,是 WSL 更新导致的变化吧,我是在 Win10 下搭建的。