File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,26 @@ Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后
14
14
15
15
![ windows-x86_64-2] ( /assets/img/docs/java-download-pages/windows-x86_64-2.gif )
16
16
17
- 没有下载?[ 点击此处开始下载] ( https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi )
17
+ 没有下载?[ 点击此处开始下载] ( https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi )
18
+
19
+ 无法下载?[ 点击此处开始下载(备用)] ( https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi )
18
20
19
21
---
20
22
21
23
The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install.
22
24
23
25
No redirect? [ Click here to start downloading] ( https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi )
24
26
27
+ Can't download? [ Click here to download (alternative)] ( https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi )
28
+
25
29
26
30
<script >
27
31
setTimeout (function () {
28
- window .location .href = " https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi" ;
29
- }, 5000 ); // 等待 5 秒.
32
+ const isZhCN = / ^ zh-CN/ i .test (navigator .language );
33
+ const url = isZhCN
34
+ ? " https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi"
35
+ : " https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi" ;
36
+ window .location .href = url;
37
+ }, 5000 ); // Wait 5 seconds
30
38
</script >
31
39
You can’t perform that action at this time.
0 commit comments