To install Java on Linux, we sometime needs to use rpm package and alternatives command.
Here are useful links:
https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFJHFDD
http://tech.lanesnotes.com/2008/03/using-alternatives-in-linux-to-use.html
alternatives --config java
This command shows the java installed on the machine.
You should check what you already have before install a package.
-
Downloading Java from oracle.com requires you to sign the agreement first.
This site describes how to by pass it.
https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/
No comments:
Post a Comment