From e454ce0680d4034c9a95ee7e2bb9eb6ba5ecf341 Mon Sep 17 00:00:00 2001 From: Glavo Date: Tue, 5 Sep 2023 14:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=BE=99=E8=8A=AF=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20Java=20=E4=B8=8B=E8=BD=BD=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20(#62)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _downloads/linux/loongarch64.md | 35 +++++++++++++++++++++++++++++++++ _downloads/loongnix.md | 16 +++------------ 2 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 _downloads/linux/loongarch64.md diff --git a/_downloads/linux/loongarch64.md b/_downloads/linux/loongarch64.md new file mode 100644 index 0000000..308bc94 --- /dev/null +++ b/_downloads/linux/loongarch64.md @@ -0,0 +1,35 @@ +--- +title: "下载 HMCL 和 Minecraft 依赖的 Java" +permalink: /downloads/linux/loongarch64.html +date: 2023-09-05 14:00:00 +0800 +categories: Java 下载 +toc: false +--- + +![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.hmcl.net%2Fdownloads%2Flinux%2Floongarch64.html&count_bg=%233E4245&title_bg=%233E4245&icon=&icon_color=%23E7E7E7&title=%F0%9F%91%80&edge_flat=false) + +龙芯平台存在**新世界**和**旧世界**两个 ABI,不同 ABI 的 Java 暂不兼容。 + +请在终端中输入 `uname -r` 命令查看 Linux 内核版本。如果你的内核版本为 4.x 请下载[旧世界](#旧世界) Java,否则请下载[新世界](#新世界) Java。 + +## 旧世界 + +如果你正在使用旧世界龙芯系统,请前往龙芯开源社区下载龙芯 Java 17。 + +[点击此处前往下载页面](http://www.loongnix.cn/zh/api/java/downloads-jdk17/index.html) + +## 新世界 + +如果你正在使用新世界龙芯系统,请使用系统的包管理器安装 Java。 + +**Loongnix**/Deepin/Debian/Ubuntu: + +``` +sudo apt install openjdk-17-jre +``` + +Arch Linux: + +``` +sudo pacman -S jre17-openjdk +``` diff --git a/_downloads/loongnix.md b/_downloads/loongnix.md index 62737f3..881e7e1 100644 --- a/_downloads/loongnix.md +++ b/_downloads/loongnix.md @@ -3,21 +3,11 @@ title: "下载 HMCL 和 Minecraft 依赖的 Java" permalink: /downloads/loongnix.html date: 2022-12-03 17:30:00 +0800 categories: Java 下载 -toc: falst +toc: false --- -![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.hmcl.net%2Fdownloads%2Floongnix.html&count_bg=%233E4245&title_bg=%233E4245&icon=&icon_color=%23E7E7E7&title=%F0%9F%91%80&edge_flat=false) - -### 正在前往 Java 下载页面,请点击下载,然后等待 Java 下载完成,解压压缩包,并设置环境变量。 - -### 没有前往?[点击此处](http://www.loongnix.cn/zh/api/java/downloads-jdk8/index.html) - -### You are going to the Java download page, please click download, then wait for Java to finish downloading, unzip the package, and set environment variables. - -### Not traveling? [Click here](http://www.loongnix.cn/zh/api/java/downloads-jdk8/index.html) - +页面已移动至 [/downloads/linux/loongarch64](/downloads/linux/loongarch64.html) -