-
Notifications
You must be signed in to change notification settings - Fork 49
Installation Guide
John Jiang edited this page Jun 28, 2023
·
4 revisions
Get Tencent Kona binary from Releases, e.g. TencentKona11.0.9.1.b1.tgz
cd <Install_Path>
tar -zxvf TencentKona11.0.9.1.b1.tgz
export JAVA_HOME=<Install_Path>/TencentKona11.0.9.1.b1
export PATH=${JAVA_HOME}/bin:$PATH
SDKMAN already supports Tencent Kona, please list the releases at first,
$ 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
and then install a release like the below command,
$ sdk install java 11.0.19-kona
The output of java -version should like:
bash#> java -version
openjdk version "11.0.9.1-ga" 2020-11-04
OpenJDK Runtime Environment TencentKonaJDK (build 11.0.9.1-ga+1)
OpenJDK 64-Bit Server VM TencentKonaJDK (build 11.0.9.1-ga+1, mixed mode)
~# docker pull konajdk/konajdk:11
~# docker images
Output
REPOSITORY TAG IMAGE ID CREATED SIZE
konajdk/konajdk 11 0ff4d468680e 2 hours ago 417MB
~# docker run -it [IMAGE ID] java -version
Output should contain "Tencent Kona"
openjdk version "11.0.14-ga" 2022-02-17
OpenJDK Runtime Environment TencentKonaJDK (build 11.0.14-ga+1)
OpenJDK 64-Bit Server VM TencentKonaJDK (build 11.0.14-ga+1, mixed mode)