![]() |
Not able to install jdk in linux ubuntu.
i am getting messages like "404 not found" for some packages when i ran "apt-get update" command.
After that when i am using "install" command msgs coming like Unable to locate package sun,java6,jdk etc.. Anyone having any idea what i am missing ? |
What distribution and version are you using?
|
To install Java in Ubuntu, use the commands -
#sudo apt-get install openjdk-6-jdk #sudo apt-get install openjdk-6-jre-headless I think you are using the package names wrong. Regards, Kedar |
Hi,
sounds like your /etc/apt/sources.list needs to be updated. But knowing what to put in there will depend on (as segfault hints) what version of Ubuntu you are using. I suspect you may be running an outdated version and as such the repos have moved. If this is the case you'll need to replace all instances of archive.ubuntu.com and security.ubuntu.com with old-releases.ubuntu.com. If all this is true, you should probably consider upgrading to a current release. Evo2. |
All times are GMT -5. The time now is 09:06 AM. |