I've seen this question before but the answer is usually
sudo apt-get install openjdk-8-jre
sudo apt-get install default-jdk
or there is no answer.
The software I am using requires official java from official site java.com. Openjdk, default-8-jre, etc. always returns error when trying to start a program but I am having difficulties installing java from java.com:
https://www.java.com/en/download/linux_manual.jsp
Software provider said I should install this version
https://www.java.com/en/download/help/linux_x64rpm_install.xml
however I am using Ubuntu based distro so I think I would need this instead
https://www.java.com/en/download/help/linux_x64_install.xml
I have troubles installing this version since in step 3 it says
When the installation has completed, you will see the word Done.
I never see the word "Done". Needless to say, installation guide on java.com is lacking information which is why I'm here.
So I would like to request a step by step guide how to install official Java from java.com without leaving steps (and assuming I know something I don't; I need to point out I am not a pro linux user). For both versions, just in case... And I would also like to request a guide to uninstall all traces of said installation in case there is a need to do it again in the future.