Ubuntu Feisty 7.04 Sun Java6 Installation

27 June 2007 at 8:53 pm 2 comments

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:-)

Advertisements

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

Cose da non fare (part 1)!!! Scienza per tutti i gusti

2 Comments Add your own

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

Visitors to this site

Top Clicks

  • None

%d bloggers like this: