英文:
Invalid runtime for JavaSE-1.8: The path points to a missing or inaccessible folder
问题
Earlier vscode was working normally but now it can't recognize the paths for runtime.
Environment:
VSCode Version: 1.77.1 (user setup)
OS: Windows_NT x64 10.0.22621
Java Extension Version: v0.49.1
JDK Version: "11.0.15" 2022-04-19
I'm getting 2 errors
"Invalid runtime for JavaSE-1.8: The path points to a missing or inaccessible folder
(C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\8)."
and
"Invalid runtime for JavaSE-19: The path points to a missing or inaccessible folder (C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\19)."
{
"name": "JavaSE-1.8",
"path": "C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\8"
},
{
"name": "JavaSE-11",
"path": "C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot"
},
{
"name": "JavaSE-17",
"path": "C:\Program Files\Java\jdk-17.0.5",
"default": true
},
{
"name": "JavaSE-19",
"path": "C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\19"
}
英文:
Earlier vscode was working normally but now it can't recognize the paths for runtime.
Environment:
VSCode Version: 1.77.1 (user setup)
OS: Windows_NT x64 10.0.22621
Java Extension Version: v0.49.1
JDK Version: "11.0.15" 2022-04-19
I'm getting 2 errors
"Invalid runtime for JavaSE-1.8: The path points to a missing or inaccessible folder
(C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\8)."
and
"Invalid runtime for JavaSE-19: The path points to a missing or inaccessible folder (C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\19)."
{
"name": "JavaSE-1.8",
"path": "C:\\Users\\tj675\\AppData\\Roaming\\Code\\User\\globalStorage\\pleiades.java-extension-pack-jdk\"
},
{
"name": "JavaSE-11",
"path": "C:\\Program Files\\Eclipse Adoptium\\jdk-11.0.15.10-hotspot"
},
{
"name": "JavaSE-17",
"path": "C:\\Program Files\\Java\\jdk-17.0.5",
"default": true
},
{
"name": "JavaSE-19",
"path": "C:\\Users\\tj675\\AppData\\Roaming\\Code\\User\\globalStorage\\pleiades.java-extension-pack-jdk\"
}
答案1
得分: 0
请检查以下文件夹是否存在,并确保您对它们具有访问权限。
C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\8
C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\19
英文:
Please check that the following folders exist and that you have access rights to them.
C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\8
C:\Users\tj675\AppData\Roaming\Code\User\globalStorage\pleiades.java-extension-pack-jdk\19
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论