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?
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.
You can try to mount WSL folder as a network drive.

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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With