Posts filed under 'Java'

Websites as Graphs

This site offer a very nice free service. Just type the URL you want to examine and a Java applet returns a graph of the HTML structure of the page analyzing the most common tags… This is for example the graph of this blog:

sito_img_res.png

And what’s the graph of your home page???


Add comment 3 November 2007

Ubuntu Feisty 7.04 Sun Java6 Installation

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


2 comments 27 June 2007


Recent Posts

Categories

Archives

Visitors to this site