I’m wondering how to install a JDK on Ubuntu 7.10.
sudo apt get-install sun-java5-jdk
does not work. This is the same case for
sudo apt-get install default-jre
sudo apt-get install default-jdk
It has an official Java version (non-JDK) already installed, but not a JDK. I also have universe and multiverse enabled if that helps to any degree.
wow, what do you need an ancient version of UBUNTU for? I’m really curious.
Trying to get Java to run in the web browser
What do you mean by “it doesn’t work”?
Very old version of Ubuntu have their repositories archived. You will need to update /etc/apt/sources.list to point to the repos.
## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
Then apt update and retry the package installation.
More info on EOL updates can be found here:
https://help.ubuntu.com/community/EOLUpgrades
1 Like