title: Run and Debug Java in WSL 2 with Intellij IDEA on Windows 10
body: <p>Intellij IDEA is installed on Windows. The java application built with maven requires native libraries (with JNI) and runs on Ubuntu. </p>
  
  <p>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?</p>