PDA

View Full Version : java install



staylor29a11
April 17th, 2009, 05:34 PM
i have javas rpm.bin dowloaded ( i am new to ubuntu) I need to find out how to install this java package to my pc so i can view it in mozilla. Can anyone help me? :) Any help will be greatly appreciated.

samantha
samafayla33@aim.com

Tim Sharitt
April 17th, 2009, 07:32 PM
The easiest way to install Java on Ubuntu is to install it from the repositories.

You can install sun-java6-jre and sun-java6-plugin with Add/Remove in the Applications menu or Synaptic.

Alternately, You can install via the command line with


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

jcorriher
April 9th, 2010, 04:40 AM
I have tried over and over to install java. Running the above commands do not work for me. I receive this error:

Package sun-java6-jdk 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-jdk has no installation candidate

Any ideas?

23dornot23d
April 9th, 2010, 04:57 AM
Its in Synaptic ..... and loads from there .... no problems .... you should be able to select it and apply it

Administration - Synaptic Package Manager .....

http://i39.tinypic.com/dr61t.jpg

garvinrick4
April 9th, 2010, 05:33 AM
I have tried over and over to install java. Running the above commands do not work for me. I receive this error:

Package sun-java6-jdk 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-jdk has no installation candidate

Any ideas? Install your partners repository that is where java resides.