2

I'm using WSL2 (Windows Subsystem for Linux) Ubuntu 18.04 on Windows 10. I'm also using NetBeans 12.1.

How do I open a project that is located on the WSL filesystem with NetBeans? In Windows Explorer the filesystem is accessible as \\wsl$, but how do I get NetBeans to open that?

2 Answers2

5

As a workaround you could create a shortcut for \wsl$ (on the desktop, e.g.), open the shortcut in the "open project" dialog and navigate from there.

Joachim Rohde
  • 5,915
  • 2
  • 29
  • 46
2

You can try to mount WSL folder as a network drive.

enter image description here

For example, I mounted \\wsl.localhost\Ubuntu as U:\ network drive and have access to my projects folder as U:\projects

Projects can now be correctly added to NetBeans and can be worked on.

Tahiaji
  • 420
  • 8
  • 15
  • 1
    the solution is working, but the time for displaying external changes is significantly increased – Tahiaji Apr 26 '23 at 09:29