Reputation: 612
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?
Upvotes: 2
Views: 3825
Reputation: 430
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.
Upvotes: 2
Reputation: 6045
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.
Upvotes: 5