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!

Pawel Co Faddey said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.