Skip to content

Commit 47f39cd

Browse files
authored
更新龙芯 Java 下载页面 (#326)
1 parent 7f804c4 commit 47f39cd

1 file changed

Lines changed: 20 additions & 37 deletions

File tree

_downloads/linux/loongarch64.md

Lines changed: 20 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,37 @@ redirect_from:
77

88
龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI,不同 ABI 的 Java 暂时互不兼容。
99

10-
请在终端中输入 `uname -r` 命令查看 Linux 内核版本。如果你的内核版本为 4.x 请下载[旧世界](#旧世界) Java,否则请下载[新世界](#新世界) Java。
10+
请在终端中输入 `uname -r` 命令查看 Linux 内核版本:
1111

12-
## 旧世界
13-
14-
如果你正在使用旧世界龙芯系统,请前往龙芯开源社区下载龙芯 Java 17。
15-
16-
[点击此处前往下载页面](https://www.loongnix.cn/zh/api/java/downloads-jdk17/index.html)
12+
- 如果你的内核版本为 5.10 或更高版本,请下载[新世界](#新世界) Java;
13+
- 如果你的内核版本为 4.19,请下载[旧世界](#旧世界) Java。
1714

1815
## 新世界
1916

20-
如果你正在使用新世界龙芯系统,请使用系统的包管理器安装 Java 17
17+
如果你正在使用新世界龙芯系统,请下载新世界 Java。
2118

22-
**Loongnix**/Deepin/Debian/Ubuntu:
19+
直接下载 (需自行安装):[loongson25.1.5-fx-jdk25_36-linux-loongarch64-glibc2.34.tar.gz](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64-glibc2.34.tar.gz)
2320

24-
```
25-
sudo apt install openjdk-17-jre
26-
```
21+
通过包管理器安装:
2722

28-
Arch Linux:
29-
30-
```
31-
sudo pacman -S jre17-openjdk
32-
```
33-
34-
---
23+
- AOSC OS/Debian/Ubuntu:
3524

36-
There are two ABIs on Loongson platform: **New World** and **Old World**. Java with different ABIs are not compatible with each other for the time being.
25+
```bash
26+
sudo apt install default-jre
27+
```
3728

38-
Please execute `uname -r` in terminal to check the Linux kernel version. Please download [Old World](#old-world) Java if your kernel version is 4.x, otherwise please download [New World](#new-world) Java.
29+
注意:Deepin 软件源中的 Java 不包含 JIT 编译器,使用它启动游戏性能将极其糟糕。我们推荐 Deepin 用户直接下载 Java,而不是使用 APT 安装。
30+
31+
- ArchLinux:
3932

40-
## Old World
33+
```bash
34+
sudo pacman -S jre-openjdk
35+
```
4136

42-
If you are using an Old World Loongson system, please go to Loongson Open Source Community to download Loongson Java 17.
43-
44-
[Click here to download](https://www.loongnix.cn/zh/api/java/downloads-jdk17/index.html)
45-
46-
## New World
47-
48-
If you are using a New World Loongson system, please install Java 17 by using system's package manager.
49-
50-
**Loongnix**/Deepin/Debian/Ubuntu:
37+
## 旧世界
5138

52-
```
53-
sudo apt install openjdk-17-jre
54-
```
39+
如果你正在使用旧世界龙芯系统,请下载旧世界 Java:
5540

56-
Arch Linux:
41+
- `.tar.gz`: [loongson25.1.5-fx-jdk25_36-linux-loongarch64.tar.gz](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64.tar.gz)
5742

58-
```
59-
sudo pacman -S jre17-openjdk
60-
```
43+
- `.deb`: [loongson25.1.5-fx-jdk25_36-linux-loongarch64.deb](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64.deb)

0 commit comments

Comments
 (0)