How to install (JRE) Java in Ubuntu (8.04)

I'm trying to install Java at my new Ubuntu and I'm getting some difficulties.
I was scrolling Synaptic Package Monitor for a while and i couldn't find it.

So i Google it..

There are these packages:

sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-src
sun-java6-demo sun-java6-javadb sun-java6-plugin
sun-java6-doc sun-java6-jdk sun-java6-source

All you (probably) need is:
$ sudo apt-get install sun-java6-jre sun-java6-fonts sun-java6-plugin

Note: The package sun-java6-plugin contain the Firefox plugin.


Anonymous said...

Now install it on Ubuntu x64 and share with us how you did it

Burnseysr said...

Thanks, it worked the first time. Burnseysr@msn.com

Nestor G said...

Thanks! It's been great help.

Anonymous said...

For Anonymous: AMD_64 works the same way, genius.

Thanks for the tutorial: big help for a simple problem. Cheers!


CJ said...

Anonymous, make sure you have SUDO, then simply copy his code. Remove the $ if your in root and whatnot.

Junior C. Perdomo said...

Nice thanks for the code ..works just fine!!!

girl@kubuntu said...

thanks, that was helpful!