The exception fails at starting, with an exception. I don't know what OS variable is used at bootstrap (maybe APPDATA?), but in my case that is set to a network share, and does not work as it seems it get chained to C:
Environment
Operating System: Windows 11
JDK version: Corrretto-17
Visual Studio Code version: 1.94.2
Java extension version: 1.35.1
Steps To Reproduce
User without write rights on C:\
Open a Java file
Error output:
Java Extension fails to activate.
Error while activating Java: {"name":"Error","message":"Activating extension 'redhat.java' failed: EPERM: operation not permitted, mkdir 'C:\\fs02'."}. If vscode-java failed to activate, try these troubleshooting steps: https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Exception, the extension and all java-related extensions do not start
Expected Result
The extension should run
Additional Informations
\fs02\ is the starting path of the network share, that is not inside C:\
The exception fails at starting, with an exception. I don't know what OS variable is used at bootstrap (maybe APPDATA?), but in my case that is set to a network share, and does not work as it seems it get chained to
C:
Environment
Steps To Reproduce
[Please attach a sample project reproducing the error] Please attach logs
Current Result
Exception, the extension and all java-related extensions do not start
Expected Result
The extension should run
Additional Informations
\fs02\ is the starting path of the network share, that is not inside C:\