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.16 error win32 x64 #246

Closed pawankhandwe closed 2 years ago

pawankhandwe commented 3 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.16 env:

JAVA_HOME: C:\Program Files\Amazon Corretto\jdk1.8.0_302
PATH:
C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin
C:\Program Files\Amazon Corretto\jdk1.8.0_302\bin
C:\oraclexe\app\oracle\product\11.2.0\server\bin
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0\
C:\windows\System32\OpenSSH\
C:\Program Files\Java\jdk1.8.0_301\bin
C:\Program Files\Java\jdk1.8.0_301\bin
C:\Program Files\Java\jdk1.8.0_301\bin
C:\Program Files\dotnet\
C:\tagui\src
C:\Program Files\Git\cmd
C:\Users\HP\AppData\Local\Programs\Python\Python39\Scripts\
C:\Users\HP\AppData\Local\Programs\Python\Python39\
C:\Users\HP\AppData\Local\Microsoft\WindowsApps
C:\Users\HP\AppData\Local\Programs\Microsoft VS Code\bin
C:\tagui\src
C:\Users\HP\AppData\Local\GitHubDesktop\bin
C:\Users\HP\Downloads\MinGW\bin

JDKs:
C:\Program Files\Amazon Corretto\jdk1.8.0_302   env.JAVA_HOME,env.PATH,WindowsRegistry,WindowsRegistry
C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot   env.PATH,DefaultLocation
C:\Program Files\Java\jdk1.8.0_301  env.PATH,env.PATH,env.PATH,WindowsRegistry,DefaultLocation
C:\Program Files\Eclipse Foundation\jdk-11.0.12.7-hotspot   DefaultLocation

log:

[7:06:14 PM] AdoptOpenJDK-11-x64
[7:10:09 PM] Download JDK ... [Completed]
[7:10:09 PM] Install JDK
[7:10:09 PM] Installing AdoptOpenJDK-11-x64...
[7:10:09 PM] Error occurred
[7:10:09 PM] Error: Command failed with exit code 1622: C:\windows\System32\msiexec.exe /i "C:\Users\HP\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\HP\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
Error opening installation log file.  Verify that the specified log file location exists and is writable.
Eskibear commented 2 years ago

please download latest version from https://code.visualstudio.com/docs/languages/java#_install-visual-studio-code-for-java