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

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
2010-07-24
Last reply:
2010-07-24

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

lsb_release -rd

David Jones (dj) said : #2

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

   David
   in TN

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.

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

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!

Please follow this procedure to install the java plugin:

http://stream-recorder.com/forum/install-java-firefox-3-6-3-ubuntu-t6689.html?s=07547b6e86b58fad66d9940f95f11ba5&

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
Y/N
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.