microsoft / vscode-java-installer

Issue Only. This repo is for reporting VS Code Java Installer issues.
MIT License
4 stars 7 forks source link

v0.3.17 error win32 x64 #281

Closed kulaalexander closed 2 years ago

kulaalexander commented 2 years ago

:warning:Please attach %TEMP%\vscode-java-installer\log.txt and %TEMP%\vscode-java-installer\AdoptOpenJDK-MSI.log for more details.

version: 0.3.17 env:

JAVA_HOME: undefined
PATH:
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\Program Files (x86)\HP\IdrsOCR_15.2.10.1114\
C:\Users\Owner\AppData\Local\Microsoft\WindowsApps
JDKs:
C:\Users\Owner\AppData\Local\Programs\Eclipse Adoptium\jdk-11.0.13.8-hotspot    DefaultLocation

log:

[1:00:00 PM] AdoptOpenJDK-11-x64
[1:00:24 PM] Download JDK ... [Completed]
[1:00:24 PM] Install JDK
[1:00:24 PM] Installing AdoptOpenJDK-11-x64...
[1:01:17 PM] Install JDK ... [Completed]
[1:01:17 PM] Download Visual Studio Code
[1:01:17 PM] arch:x64
[1:01:24 PM] Download Visual Studio Code ... [Completed]
[1:01:24 PM] Install Visual Studio Code
[1:02:12 PM] Install Visual Studio Code ... [Completed]
[1:02:12 PM] Configure Java Settings
[1:02:13 PM] Error occurred
[1:02:13 PM] Error: EPERM: operation not permitted, open 'C:\Users\Owner\AppData\Roaming\Code\User\settings.json'
kulaalexander commented 2 years ago
"java.home": "C:\\Users\\Owner\\AppData\\Local\\Programs\\Eclipse Adoptium\\jdk-11.0.13.8-hotspot",
"java.help.firstView": "gettingStarted",
"workbench.colorTheme": "Solarized Dark",
"workbench.editor.untitled.hint": "hidden",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
    "**/.classpath": true,
    "**/.project": true,
    "**/.settings": true,
    "**/.factorypath": true
}

}

kulaalexander commented 2 years ago

let me know if you need anything else

Eskibear commented 2 years ago

Error: EPERM: operation not permitted, open 'C:\Users\Owner\AppData\Roaming\Code\User\settings.json'

NodeJS failed to open this file, probably due to permission. Please check if it's set read-only or locked by other process.

Since you have JDK 11+ installed already, to get Java on VS Code working, you can directly install Java Extension Pack.

Let me know if that works.

kulaalexander commented 2 years ago

Thanhank you I got it.AKk you I got it.AK15.11.2021, 04:33, "Yan Zhang" @.***>:

Error: EPERM: operation not permitted, open 'C:\Users\Owner\AppData\Roaming\Code\User\settings.json'

NodeJS failed to open this file, probably due to permission. Please check if it's set read-only or locked by other process. Since you have JDK 11+ installed already, to get Java on VS Code working, you can directly install Java Extension Pack. Let me know if that works.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.