Question

How to Install JDK 7 on Ubuntu 12.10 ?

How to Install JDK 7 on Ubuntu 12.10 ?

I am getting these errors recently.

Err http://archive.ubuntu.com/ubuntu/ trusty-security/main dbus amd64 1.6.18-0ubuntu4.2

404 Not Found [IP: 91.189.91.23 80]

Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libc-dev-bin amd64 2.19-0ubuntu6.3

404 Not Found [IP: 91.189.91.23 80]

Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libc6-dev amd64 2.19-0ubuntu6.3

404 Not Found [IP: 91.189.91.23 80]

Fetched 89.6 MB in 8min 53s (168 kB/s)

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd-daemon0_204-5ubuntu20.8_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd-login0_204-5ubuntu20.8_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus_1.6.18-0ubuntu4.2_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd-services_204-5ubuntu20.8_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libpam-systemd_204-5ubuntu20.8_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-common_3.10.8-0ubuntu1.2_all.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-0_3.10.8-0ubuntu1.2_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libgudev-1.0-0_204-5ubuntu20.8_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.19-0ubuntu6.3_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-40.68_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.19-0ubuntu6.3_amd64.deb 404 Not Found [IP: 91.189.91.23 80]


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install openjdk-7-jre 
sudo apt-get install openjdk-7-jdk  

PS: You have a really old OS, how about updating it