Download Java JDK at https://www.oracle.com/sg/java/technologies/javase-jdk16-downloads.html
Choose file : jdk-16.0.2_linux-x64_bin.tar.gz
Accept the term
Save in Download folder
Open terminal:
$cd /sysroot/home//Downloads
$tar zxvf jdk-16.0.2_linux-x64_bin.tar.gz
$cd ~
$vim.tiny .bashrc
add line below to .bashrc file
export PATH=/sysroot/home//Downloads/jdk-16.0.2/bin:$PATH
save .bashrc file
$source .bashrc
verify your Java already deployed and check version
$ java --version
java 16.0.2 2021-07-20
Java™ SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot™ 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)