最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - How to use wsl ant installation from Intellij - Stack Overflow

programmeradmin1浏览0评论

I am trying to setup my environment to use wsl2 mainly for java tasks. I cloned the project inside the wsl directories and I am able to open the project from Intellij. Also I configured Intellij to use wsl's jdk. Until here everything works fine. But when I try to add wsl ant installation to Intellij it fails with the below error.

ant.jar not found in directory '\wsl.localhost\Ubuntu\usr\share\ant\lib

When I check from the explorer the jar is there. I tried to copy ant installation with all its jars under my wsl home folder, it did not work from there either. Any idea about what is the problem here?

发布评论

评论列表(0)

  1. 暂无评论