Why does runIde task fail in WSL2?

Viewed 327

I was created an IntelliJ platform project, my setup is :

  • gradle -> 7.2
  • Groovy -> 3.0.8
  • java jdk -> openjdk version "11.0.12" 2021-07-20
  • intelliJ -> 2021.2.1 (Ultimate Edition)
  • org.jetbrains.intellij pluging -> 1.2.0

The fail message is:

Execution failed for task ':runIde'.
> Process 'command '/home/boyscout/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-11_0_11-linux-x64-b1504.16/extracted/jbr/bin/java'' finished with non-zero exit value 1
Unable to list file systems to check whether they can be watched. The whole state of the virtual file system has been discarded. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)

With the same setup when I launch the build on Windows, it's not failed.

I think the problem is from WSL but I don't know the reason.

This my IntelliJ settings : gradle settings

Thanks for your help.

0 Answers
Related