Warning: Illegal string offset 'addMap' in /home/mhd-01/www.gabcicala.it/htdocs/wp-content/plugins/mygeopositioncom-geotags-geometatags/mygeopositioncom-geotags-geometatags.php on line 639
Warning: Illegal string offset 'position' in /home/mhd-01/www.gabcicala.it/htdocs/wp-content/plugins/mygeopositioncom-geotags-geometatags/mygeopositioncom-geotags-geometatags.php on line 561
Warning: Illegal string offset 'position' in /home/mhd-01/www.gabcicala.it/htdocs/wp-content/plugins/mygeopositioncom-geotags-geometatags/mygeopositioncom-geotags-geometatags.php on line 603
La procedura per poter installare l’ambiente Java su di una Debian Lenny mi è stata molto lunga e difficile ma alla fine sono riuscito nell’impresa.
Esistono dei repository che facilitano la cosa e sono i seguenti da aggiungere nel sources.list:
## Java 6 JRE/SDK (From Official Debian Repository)
####deb http://ftp.bononia.it/debian unstable main contrib non-free
deb http://ftp.bononia.it/debian lenny main contrib non-free
deb http://ftp.bononia.it/debian lenny-proposed-updates main contrib non-free
#deb http://ftp.bononia.it/debian testing main contrib non-free
#deb http://ftp.bononia.it/debian testing-proposed-updates main contrib non-free
Successivamente dato che di default la Lenny usa la gcj, anche se si è installata la sun-java6 dai repository, per far usare la java6 bisogna dare il comando da root:
# update-alternatives --config java
che ci permetterà di scegliere quale ambiente Java usare.