Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse 2020-12 can not create workspace in a WSL2 share
Eclipse 2020-12 can not create workspace in a WSL2 share [message #1836164] Tue, 22 December 2020 22:21 Go to next message
Mr Cur is currently offline Mr CurFriend
Messages: 32
Registered: September 2014
In Windows, WSL2 allows you to run a linux distro (in my case Ubuntu 20.04.1 LTS).
Using the share name \\WSL$\<distr- name>, you can access linux files from Windows.

I have created in WSL2 a directory with sufficient access right. With tools such as Notepad++ (or IntelliJ) (running under Windows) I can then can read and save files via the \\WSL$\<distr- name>\<dir-name> share in Linux/WSL2.

However, Eclipse (20-12) fails. I already can not create a workspace, with the error "Could not launch the product because the specified workplace cannot be created. The specified workspace directory is either invalid or read-only".

If I map the share with a drive letter (which succeeds), I also can not create a workspace (while e.g. Notepad++ can create files).

Why does Eclipse not work with WSL2 networkk shares and for example NotePad++ does?


-- Jaap
Re: Eclipse 2020-12 can not create workspace in a WSL2 share [message #1849190 is a reply to message #1836164] Thu, 06 January 2022 19:48 Go to previous message
Erica Kane is currently offline Erica KaneFriend
Messages: 1
Registered: January 2022
Junior Member
Try mapping \\$wsl\<your distribution> to a network drive, for example, W: .
Previous Topic:Java 17 Support install site not found
Next Topic:Java Eclipse doesn't show any error (the red bulb) but the code still can't run
Goto Forum:

Current Time: Fri Jan 21 10:11:29 GMT 2022

Powered by FUDForum. Page generated in 0.03581 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top