sudo apt-get install sun-java-jre sun-java6-plugin sun-java6-fonts Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package sun-java-jre

Asked by keith jacob

when i try to install jdk 6
i get this error
sudo apt-get install sun-java-jre sun-java6-plugin sun-java6-fonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java-jre

Question information

Language:
Spanish (Spain) Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
keith jacob (kertsjacs) said :
#1

am trying to install jdk 6 for netbeans 6.9.1 to install using this command :
sudo apt-get install sun-java-jre sun-java6-plugin sun-java6-fonts

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java-jre

pliz help

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

lsb_release -a

Thanks

Revision history for this message
keith jacob (kertsjacs) said :
#3

the output of lsb_release -a is
as follows:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

thanks

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#4
Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#5

(Or, you might just be able to install sun-java6-jre instead of sun-java-jre, since sun-java-jre is not a correct package name bug sun-java6-jre is.)

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#6

(Correction: "...bug sun-java6-jre is" --> "...BUT sun-java6-jre is")

Revision history for this message
keith jacob (kertsjacs) said :
#7

Thanks Eliah Kagan, that solved my question.