CentOS8.3にkotlinをインストールする方法

操作方法
1.sdkmanの取得
# curl -s “https://get.sdkman.io" | bash

Please open a new terminal, or run the following in the existing one:

source “/root/.sdkman/bin/sdkman-init.sh"

Then issue the following command:

sdk help

Enjoy!!!

2.環境パスを設定
# source “$HOME/.sdkman/bin/sdkman-init.sh"

3.kotlinのインストール
# sdk install kotlin

Installing: kotlin 1.4.31
Done installing!

Setting kotlin 1.4.31 as default.

4.kotlinの確認
# kotlinc -version
info: kotlinc-jvm 1.4.31 (JRE 1.8.0_275-b01)

5.javaのインストール
# sdk install java

Installing: java 11.0.10.hs-adpt
Done installing!

Setting java 11.0.10.hs-adpt as default.

IT

Posted by arkgame