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

Closed phanbinh2004 closed 2 years ago

phanbinh2004 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\Google\Chrome\Application
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
E:\DOWNLOAD\Dev-Cpp\MinGW64\bin
C:\Users\phanb\AppData\Local\Microsoft\WindowsApps

E:\DOWNLOAD\Microsoft VS Code\bin
JDKs:

log:

[10:18:29] AdoptOpenJDK-11-x64
[10:19:03] StatusCodeError: 504 - "<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
[10:19:03] Retry downloading ... [1]
[10:19:34] StatusCodeError: 504 - "<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
[10:19:34] Retry downloading ... [2]
[10:20:06] StatusCodeError: 504 - "<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
[10:20:06] fallback to Adopt API v3
[10:29:41] Download JDK ... [Completed]
[10:29:41] Install JDK
[10:29:41] Installing AdoptOpenJDK-11-x64...
[10:29:42] Error occurred
[10:29:42] Error: Command failed with exit code 1620: C:\Windows\System32\msiexec.exe /i "C:\Users\phanb\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\phanb\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
This installation package could not be opened.  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