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 #271

Closed abhishekbhosale9922 closed 2 years ago

abhishekbhosale9922 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:\Program Files (x86)\Common Files\Oracle\Java\javapath
F:\oracle\product\10.2.0\db_5\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\Microsoft VS Code\bin
C:\Users\abhis\AppData\Local\Microsoft\WindowsApps
C:\Program Files\Java\jdk1.8.0_202\bin

JDKs:
C:\Program Files\Java\jdk1.8.0_202  env.PATH,WindowsRegistry,WindowsRegistry,DefaultLocation

log:

[10:42:22] AdoptOpenJDK-11-x64
[10:42:32] RequestError: Error: read ECONNRESET
[10:42:32] Retry downloading ... [1]
[10:43:25] Download JDK ... [Completed]
[10:43:25] Install JDK
[10:43:25] Installing AdoptOpenJDK-11-x64...
[10:43:26] Error occurred
[10:43:26] Error: Command failed with exit code 1619: C:\Windows\System32\msiexec.exe /i "C:\Users\abhis\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\abhis\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
This installation package could not be opened.  Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer package.
Eskibear commented 2 years ago

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