-
Notifications
You must be signed in to change notification settings - Fork 32
安装说明
John Jiang edited this page Jun 28, 2023
·
2 revisions
从Releases中下载腾讯Kona的二进制文件,例如:TencentKona-17.0.0.b1-jdk_linux-x86_64.tar.gz
cd <Install_Path>
tar -zxvf TencentKona-17.0.0.b1-jdk_linux-x86_64.tar.gz
export JAVA_HOME=<Install_Path>/TencentKona-17.0.0.b1
export PATH=${JAVA_HOME}/bin:$PATH
SDKMAN已经支持了腾讯Kona,请先查看版本,
$ sdk list java | grep kona
Tencent | | 17.0.7 | kona | | 17.0.7-kona
| | 11.0.19 | kona | | 11.0.19-kona
| | 8.0.372 | kona | | 8.0.372-kona
然后再使用如下命令进行安装,
$ sdk install java 17.0.7-kona
java -version 输出应如下:
bash#> java -version
openjdk version "17" 2021-10-13 LTS
OpenJDK Runtime Environment TencentKonaJDK (build 17+35-LTS)
OpenJDK 64-Bit Server VM TencentKonaJDK (build 17+35-LTS, mixed mode, sharing)