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

Closed deivealtoe closed 2 years ago

deivealtoe 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: undefined
PATH:
"C:\Program Files\Opera"
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 (x86)\dotnet\
C:\Program Files\Git\cmd
C:\Program Files\nodejs\
C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\
C:\Program Files\Azure Data Studio\bin

C:\Program Files\Docker\Docker\resources\bin
C:\ProgramData\DockerDesktop\version-bin
C:\Program Files\dotnet\
C:\Users\Deivisson Altoé\AppData\Local\Programs\Python\Python39\Scripts\
C:\Users\Deivisson Altoé\AppData\Local\Programs\Python\Python39\
C:\Users\Deivisson Altoé\AppData\Local\Microsoft\WindowsApps
C:\Users\Deivisson Altoé\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\Deivisson Altoé\AppData\Roaming\npm
C:\Program Files\Azure Data Studio\bin
C:\Users\Deivisson Altoé\Documents\Codes\apache-maven-3.8.2\bin

JDKs:
C:\Program Files\Java\jdk1.7.0_80   WindowsRegistry,WindowsRegistry,DefaultLocation
C:\Program Files\Java\jdk1.8.0_291  WindowsRegistry,WindowsRegistry,DefaultLocation

log:

[15:08:35] AdoptOpenJDK-11-x64
[15:10:28] RequestError: Error: read ECONNRESET
[15:10:28] Retry downloading ... [1]
[15:11:05] Download JDK ... [Completed]
[15:11:05] Install JDK
[15:11:05] Installing AdoptOpenJDK-11-x64...
[15:11:06] Error occurred
[15:11:06] Error: Command failed with exit code 1619: C:\Windows\System32\msiexec.exe /i "C:\Users\DEIVIS~1\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\DEIVIS~1\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

VS Code Java tools requires JDK 11+ to launch itself.

MSI installer of JDK 11 was missing/broken due to your networking status. You may download and install a JDK 11 manually and re-run the installer. Let me know if it works.