I am trying to install Java 8 via the download from Oracle and jdk-8u211-linux-x64.tar.gz file. There is many posts which cover install of Java 8 on Ubuntu but none work any more since as of April 16 you cant install via apt.
When I download file and extracted it and move to the /usr/local/jdk1.8.0_211/ dir and I tried to run
java -v to get the installed java version but I am getting this error:
The program 'java' can be found in the following packages: * default-jre * gcj-5-jre-headless * openjdk-8-jre-headless * gcj-4.8-jre-headless * gcj-4.9-jre-headless * openjdk-9-jre-headless
So what do I need to do to get Java correctly registered so I can use it.