Oracle Java JDK 21 下载地址及安装教程

闭关苦炼内功 2024-10-06 08:05:03 阅读 77

Oracle JDK 21 官方地址

https://www.oracle.com/java/technologies/downloads/#java21


1. Linux 版本

ARM64 Compressed Archive

https://download.oracle.com/java/21/latest/jdk-21_linux-aarch64_bin.tar.gz

ARM64 RPM Package

https://download.oracle.com/java/21/latest/jdk-21_linux-aarch64_bin.rpm

x64 Compressed Archive

https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz

x64 Debian Package

https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb

x64 RPM Package

https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.rpm

1

Linux (x64) 环境 安装测试

<code>wget https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz -P /opt/software

tar -zxvf /opt/software/jdk-21_linux-x64_bin.tar.gz -C /opt/module

cat <<EOF> /etc/profile.d/jdk21.sh

export JAVA_HOME=/opt/module/jdk-21.0.4

export PATH=$PATH:$JAVA_HOME/bin

EOF

source /etc/profile.d/jdk21.sh

java -version

aaaa


2. Windows 版本

https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.zip

https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe

https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.msi

2


我们下期见,拜拜!



声明

本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。