Question:
Linux Ubuntu 8.x help?
Deception
2011-02-16 10:40:33 UTC
Trying to install Java on Ubuntu 8.x

Everytime I write in the terminal:

sudo apt-get install openjdk-6-jre

I get this error message

E: Couldn't find package openjdk-6-jre

Any Ideas?
Three answers:
Joe
2011-02-16 10:55:39 UTC
8.x isn't a valid version number for Ubuntu. Are you running "8.04 LTS", or "8.10"? 8.10 isn't supported any more - which could explain your problem. 8.04 LTS is supported through April 2011, so you might want to plan an upgrade to 10.04 LTS, or 10.10 (the newest version).



In the meantime, try using Synaptic Package Manager instead of apt-get. You can search for "openjdk", and install what you want from the GUI. I can't easily check what versions were available in 8.04 LTS or 8.10, but it's quite possible that you don't have openjdk-6-xxx, and may have to settle for openjdk-5-xxx in that old version of Ubuntu.



As an aside: I've had some trouble with the openjdk Java products, and much prefer to use the sun-java6 products.
Linux Mint 11
2011-02-16 12:10:06 UTC
How to install (JRE) Java in Ubuntu 8.04 LTS

http://linuxinside.blogspot.com/2008/04/how-to-install-jre-java-in-ubuntu-804.html



How to Install (JRE) Java in Ubuntu 8.10

http://www.ehow.com/how_6192241_install-java-ubuntu-8_10.html



If you are running Ubuntu 8.10 you are almost certain to run in to problems as it is no longer supported





LUg.
Marko S
2011-02-17 10:03:16 UTC
I think the 2008 versions are no longer officially supported. You should really upgrade to a more recent version, say 10.04 or 10.10.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...