I cant get sun-java6-jre

Asked by Lucas Benninger on 2010-07-23

I cant get sun-java6-jre. it gives me a message in the terminal

Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate

this is when i use the command: sudo apt-get install sun-java6-jre
I have read some other people asking questions about this but I could not use the same method because of the message above.

Question information

English Edit question
Ubuntu sun-java6 Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :

Please tell the Ubuntu release are you using... from terminal type:

lsb_release -rd

Revision history for this message
David Jones (dj) said :

  Have you tried software center? Just type java in search box

   in TN

Revision history for this message
Lucas Benninger (lucas8060-deactivatedaccount) said :

Description: Ubuntu 10.04.1 LTS
Release: 10.04

     I use the gnome-terminal and when I look java up in the software center the openJDK java 6 runtime is installed aswell as openJDK java 6 web start.

Revision history for this message
Lucas Benninger (lucas8060-deactivatedaccount) said :

i found another java thing in the software center but i need to update the catoloug wich i also do not know how to do

Revision history for this message
Daniel Martí (mvdan-deactivatedaccount) said :

just go synaptic, and find the package itself. It is not necessary to go to the software center, synaptic is better for things like that (at downloading packages, it's just the same). Just yesterday, I downloaded it from my ubuntu 10.04.

Hope this helps!

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :

Please follow this procedure to install the java plugin:


Or run these 2 commands in your terminal:

sudo apt-get update

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

It will ask for your password; put the password in that you log in with and then
hit enter. It will do things then it will ask you, if you still want to go for it
type in Y then enter.
Then when the agreement pops up click F12 then arrow to the left
to say yes and hit enter.
Then when it is done open your web browser and go into tools and
add-ons and click plug-ins you should see the java plug-in.

Can you help with this problem?

Provide an answer of your own, or ask Lucas Benninger for more information if necessary.

To post a message you must log in.