As root user i created the folder /usr/local/java, moved in the folder the downloaded file and install it with the command tar zxvf jre-****.tar.gz. After the installation i deleted the .tar.gz file.
I'm trying with the command update-alternatives --config java, to make oracle java the default java program, but when i give the above command, the outcome is,
Code: Select all
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-11-openjdk-amd64/bin/java
Nothing to configure.