1

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.

4

1 Answer 1

1

I use a package named update-sun-java for this purpose. It is distributed through a ppa (I'm not at home, so don't have my repository list available now; I'll try to update this later), so some might consider this excessively risky, but I've been using it this way for several years. This ppa maintainer obtains the Java runtime and other packages direct from Oracle/Sun/whoever, and packages them in a .deb.

I find I usually have a one or two day delay after a new update drops from the originator before the ppa makes an update available. Browsers don't use this much any more, but I still use Java software locally on my computer, so I keep this ppa active on my system.

In searching for the PPA name I use, I found there is now a group called LinuxUprising who are doing the same job, possibly having taken over from the maintainer I'm used to. Their ppa:linuxuprising/java isn't familiar to me, but Google brings it up when I try to search for the one I'm used to.

1
  • 1
    For what it's worth, I use a couple of linuxuprising ppas, with good results. Feb 25, 2020 at 18:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .