Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code Java Cannot Run from Read-Only Location #1301

Closed
tsmaeder opened this issue Feb 26, 2020 · 2 comments · Fixed by #1307
Closed

VS Code Java Cannot Run from Read-Only Location #1301

tsmaeder opened this issue Feb 26, 2020 · 2 comments · Fixed by #1307
Assignees

Comments

@tsmaeder
Copy link

When running VS Code Java, some files are created in server\config_win\org.eclipse.core.runtime (this is on Windows, but likely not Windows-specific).
The problem with this is that you cannot run VS Code Java from a location where you don't have write access. This prevents VS Code Java from running as a built-int extension in Theia, for example.
To me it seems that the files in question are created by the eclipse configuration management. IMO, those files should be created in the directory obtained from ExtensionContext#globalStoragePath. Eclipse has a startup parameter to set the osgi configuration area (see here and here)

@snjeza
Copy link
Contributor

snjeza commented Mar 3, 2020

See #1307 (comment)

@snjeza snjeza reopened this Mar 3, 2020
@fbricon
Copy link
Collaborator

fbricon commented Mar 4, 2020

#1314 fixed the dev mode issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants