Ubuntu Feisty 7.04 Sun Java6 Installation

27 June 2007

After few steps I installed Sun Java6 Rutime Enviroment in my Ubuntu Fesity 7.04. The installation is quite easy compared to previous releases of Ubuntu.

The first step is to update your repository list:

sudo gedit /etc/apt/sources.list

and add the following lines :

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs
deb http://packages.medibuntu.org/ feisty free non-free
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free


## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu feisty-commercial main

Save the file and update:

sudo apt-get update

If you need only JRE:

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

If you need of the development enviroment JDK too:

sudo apt-get install sun-java6-jdk

Now you have to configure wich Java version use:

sudo update-alternatives –config java

You’ll get a message like this:

Ci sono 2 alternative che forniscono `java’.

Selezione Alternativa
———————————————–
1 /usr/bin/gij-wrapper-4.1
*+ 2 /usr/lib/jvm/java-6-sun/jre/bin/java


Premi invio per mantenere il default[*], o inserisci il numero da selezionare:

You have to select (in this case by pressing 2) the Sun entry. If you want to enable Firefox plugin :

sudo apt-get install sun-java6-plugin

It works for me!!! Enjoy:-)

Entry Filed under: Java, Ubuntu, how-to, linux. .

2 Comments Add your own

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

a

Archives

Visitors to this site

Top Clicks