How to install java in ubuntu?

Derek Broughton news at
Wed Oct 17 17:57:30 UTC 2007

Luke wrote:

> Dear Mdm/Sir,
> I need to install java into my newly installed ubuntu in my laptop.
> I have downloaded the file jre-6u3-linux-i586.bin into my desktop.
> I followed the instructions found in the java site, but they don't have
> instructions on how to install java in ubuntu environment, rather
> instructions on how to install java in redhat or suse environment.
> Please advice.

Don't do that?  

Just add multiverse to your /etc/apt/sources.list, and:

# sudo aptitude install sun-java6-jre

> I also would like to know if there is any firewall built-in for ubuntu

yes - it's called "iptables"

> that I can access the settings 

not easily :-(

> or if this OS also require any anti-virus software to be installed. 


More information about the ubuntu-users mailing list