10
votes

Intellij IDEA is installed on Windows. The java application built with maven requires native libraries (with JNI) and runs on Ubuntu.

Using maven and git on Windows is fine. How can I point Intellij IDEA to use the JDK from WSL so I can create a run/debug configuration that uses the WSL?

1
WSL paths are not supported by IDE, you can vote and follow these requests: youtrack.jetbrains.com/issue/IDEA-223986 youtrack.jetbrains.com/issue/IDEA-171510Andrey

1 Answers

0
votes

Deploy your app on WSL with Power Shell, and remote debug