diff --git a/HMCLauncher/HMCL/main.cpp b/HMCLauncher/HMCL/main.cpp index ff3e7d53a..350d7c5c6 100644 --- a/HMCLauncher/HMCL/main.cpp +++ b/HMCLauncher/HMCL/main.cpp @@ -156,14 +156,14 @@ error: if (isWin7OrLater) { if (isARM64) { - downloadLink = L"https://aka.ms/download-jdk/microsoft-jdk-17-windows-aarch64.msi"; + downloadLink = L"https://docs.hmcl.net/downloads/windows-aarch64.html"; } if (isX64) { - downloadLink = L"https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.msi"; + downloadLink = L"https://docs.hmcl.net/downloads/windows-x64.html"; } else { - downloadLink = L"https://download.bell-sw.com/java/17.0.4.1+1/bellsoft-jre17.0.4.1+1-windows-i586-full.msi"; + downloadLink = L"https://docs.hmcl.net/downloads/windows-i586.html"; } } else { - downloadLink = L"https://www.java.com"; + downloadLink = L"https://docs.hmcl.net/downloads/java.html"; } if (IDOK == MessageBox(NULL, useChinese ? ERROR_PROMPT_ZH : ERROR_PROMPT, useChinese ? ERROR_TITLE_ZH : ERROR_TITLE, MB_ICONWARNING | MB_OKCANCEL)) {