Re: advice getting jre installed



On 6/30/06, Noah <admin2@xxxxxxxxxxx> wrote:

Hi Chris,

weird. I am finding that Java 1.4.2 is installed. and I am not able to find
J2SE 5.0 with the synaptic app.

What might I be doing wrong?

You're using the GNU gcj that came installed with the system. It's
compatible with Java 1.4.2. It's apparent that you don't have
Multiverse enabled, which is an optional software repository
containing redistributal commercial software packaged for Ubuntu.
What you need to do is add the following to your /etc/apt/sources.list
or drop in a file in /etc/apt/sources.list.d call, for example,
multiverse.list (which is what I do):

# Ubuntu Multiverse (Community Support)
deb http://us.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper multiverse

deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates multiverse

deb http://security.ubuntu.com/ubuntu dapper-security multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security multiverse

Once you've done that:

$ sudo apt-get update
$ apt-cache search sun-java5

(Pick the software you want, I just installed everything.)

$ sudo apt-get install sun-java5-\*
$ sudo update-alternatives --config java

(Select the appropriate Java version.)

$ java -version

(Verify that the new Java version is what's being offered.)

--
Chris

"I trust the Democrats to take away my money, which I can afford. I
trust the Republicans to take away my freedom, which I cannot."

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: advice getting jre installed
    ... I am finding that Java 1.4.2 is installed. ... deb-src http://us.archive.ubuntu.com/ubuntu/ dapper multiverse ... deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates multiverse ... deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates multiverse ...
    (Ubuntu)
  • Re: Debian Wordperfect & Java 86.5MB Why!?
    ... are at least three dl's on this page which deal with java itself. ... > like to know if it's possible to install on rpm/redhat base linux? ... deb packages. ... called "alien" to convert packages from deb to rpm and vice versa, ...
    (alt.linux)
  • Re: Java
    ... > I'm trying to get Java running with the firefox browser. ... > something with is .deb compatible and full JRE capable. ... Install java-package and fakeroot (apt-get install java-package ...
    (Debian-User)
  • Re: 9.3 java
    ... > all the sym-links SuSe has and the empty java folders, ... Dr. Deb: I answered this on Friday: ... install. ... Then under the /etc folder you'll find a file, ...
    (alt.os.linux.suse)
  • Re: Java Virtual Machine
    ... Seems odd, that KDE can now use Java in webpages, such as scrolling weather ... Well since I jsut seent hat last line about the "deb" I guess I will remove ... >> went well until I ran the installer again and it still insists that I ... > There's a document called Debian GNU/Linux Java FAQ at ...
    (Debian-User)