[Java] Richiesta aggiornamento jvm

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

[Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Provando ad aprire questo sito http://www.rm.unicatt.it/ mi appare una finestra che mi invita ad aggiornare la jvm ma io sono sicuro che sia aggiornata! Anche perchè l'ho installata dai repository  :P

A qualcuno da il mio stesso prob? Consigli?

Sistema: Ubuntu 8.04.1 64bit + Firefox 3.0.1
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Tiene conto che è possibile che sullo stesso sistema siano installato diverse JVM con relativo plugin per firefox.

Magari quella di default, non è quella aggiornata

Dai il comando (da un terminale)

Codice: Seleziona tutto

sudo update-alternatives --config xulrunner-1.9-javaplugin.so
ti mostrerà l'elenco dei plugin java possibili, seleziona quello più aggiornato
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Massimo S. ha scritto:
Tiene conto che è possibile che sullo stesso sistema siano installato diverse JVM con relativo plugin per firefox.

Magari quella di default, non è quella aggiornata

Dai il comando (da un terminale)

Codice: Seleziona tutto

sudo update-alternatives --config xulrunner-1.9-javaplugin.so
ti mostrerà l'elenco dei plugin java possibili, seleziona quello più aggiornato

andrea@Andrea-laptop:~$ sudo update-alternatives --config xulrunner-1.9-javaplugin.so
[sudo] password for andrea:
Nessuna alternativa per xulrunner-1.9-javaplugin.so.
andrea@Andrea-laptop:~$


Adesso che faccio??  :(
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Allora mi viene il dubbio che tu hai si installato Java ma non il plugin per firefox.

Prova a fare

Codice: Seleziona tutto

sudo apt-get install sun-java6-plugin
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Codice: Seleziona tutto

andrea@Andrea-desktop:~$ sudo apt-get install sun-java6-plugin
[sudo] password for andrea: 
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Reading state information... Fatto               
Il pacchetto sun-java6-plugin non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo significa che il pacchetto manca, è diventato obsoleto
o è disponibile solo all'interno di un'altra sorgente
E: Il pacchetto sun-java6-plugin non ha candidati da installare
andrea@Andrea-desktop:~$ 
>:(
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Mi sa che devi abilitare il componente multiverse dei repository ufficiali di ubuntu
Vedi Repository/Componenti

e poi ridai il comando sudo apt-get .....
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted multiverse

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted multiverse
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

Questo è il mio file sources.list ma continuo ad avere lo stesso errore...  :(
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

dopo l'ultima volta che hai modificato il file sources.list, hai ricaricato la lista dei pacchetti?

Per farlo dai

Codice: Seleziona tutto

sudo apt-get update
e poi riprova

Codice: Seleziona tutto

sudo apt-get install sun-java6-plugin
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Codice: Seleziona tutto

andrea@Andrea-desktop:~$ sudo apt-get update 
[sudo] password for andrea: 
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-it
Ign http://security.ubuntu.com hardy-security/restricted Translation-it
Ign http://security.ubuntu.com hardy-security/multiverse Translation-it
Ign http://security.ubuntu.com hardy-security/universe Translation-it
Hit http://security.ubuntu.com hardy-security Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://it.archive.ubuntu.com hardy Release.gpg   
Hit http://it.archive.ubuntu.com hardy/main Translation-it         
Hit http://it.archive.ubuntu.com hardy/restricted Translation-it   
Hit http://it.archive.ubuntu.com hardy/multiverse Translation-it   
Hit http://it.archive.ubuntu.com hardy/universe Translation-it     
Hit http://it.archive.ubuntu.com hardy-updates Release.gpg         
Ign http://it.archive.ubuntu.com hardy-updates/main Translation-it 
Ign http://it.archive.ubuntu.com hardy-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com hardy-updates/multiverse Translation-it
Ign http://it.archive.ubuntu.com hardy-updates/universe Translation-it
Hit http://it.archive.ubuntu.com hardy Release                     
Hit http://it.archive.ubuntu.com hardy-updates Release                         
Hit http://it.archive.ubuntu.com hardy/main Packages                           
Hit http://it.archive.ubuntu.com hardy/restricted Packages         
Hit http://it.archive.ubuntu.com hardy/multiverse Packages         
Hit http://it.archive.ubuntu.com hardy/main Sources                
Hit http://it.archive.ubuntu.com hardy/restricted Sources          
Hit http://it.archive.ubuntu.com hardy/multiverse Sources          
Hit http://it.archive.ubuntu.com hardy/universe Packages           
Hit http://it.archive.ubuntu.com hardy/universe Sources            
Hit http://it.archive.ubuntu.com hardy-updates/main Packages       
Hit http://it.archive.ubuntu.com hardy-updates/restricted Packages 
Hit http://it.archive.ubuntu.com hardy-updates/multiverse Packages 
Hit http://it.archive.ubuntu.com hardy-updates/main Sources        
Hit http://it.archive.ubuntu.com hardy-updates/restricted Sources  
Hit http://it.archive.ubuntu.com hardy-updates/multiverse Sources  
Hit http://it.archive.ubuntu.com hardy-updates/universe Packages   
Hit http://it.archive.ubuntu.com hardy-updates/universe Sources    
Lettura della lista dei pacchetti in corso... Fatto
andrea@Andrea-desktop:~$ sudo apt-get install sun-java6-plugin 
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Reading state information... Fatto               
Il pacchetto sun-java6-plugin non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo significa che il pacchetto manca, è diventato obsoleto
o è disponibile solo all'interno di un'altra sorgente
E: Il pacchetto sun-java6-plugin non ha candidati da installare
andrea@Andrea-desktop:~$ 
:'(
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Mi sta venendo il dubbio che il problema è che io ho ubuntu a 32 bit, mentre te a 64bit

Anzi leggendo qui Programmazione/Java/Architettura64Bit
mi sa che proprio non esiste il plugin per sun-java6 per ubuntu a 64bit
Avatar utente
Iceman84
Prode Principiante
Messaggi: 91
Iscrizione: mercoledì 10 gennaio 2007, 16:37
Desktop: Ubuntu
Distribuzione: Ubuntu 14.04 x86_64

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Iceman84 »

Allora non sò per i 32 bit, ma nei repository dei 64bit il plugin java per firefox non è stato inserito, in pratica anche io ho java installato ma non ho il plugin firefox quindi non posso usare Java.
Spero che inseriscano questo plugin al + presto.
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Beneeeeeeeeeeeeeeeee...  :'(

Almeno ho sollevato un problema utile...bella consolazione però  :(

EDIT: in effetti sul portatile dove ho la 32 bit ho trovato il pacchetto... In ogni caso non è possibile far funzionare cmq i plug-in se ho le librerie a 32 bit?
Ultima modifica di Balim il martedì 26 agosto 2008, 17:38, modificato 1 volta in totale.
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Provate ad instalalre icedtea-gcjwebplugin questo mi sa che c'è anche per 64bit

Codice: Seleziona tutto

sudo apt-get install icedtea-gcjwebplugin
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Codice: Seleziona tutto

andrea@Andrea-desktop:~$ sudo update-alternatives --config java

Ci sono 3 alternative che forniscono `java'.

  Selezione    Alternativa
-----------------------------------------------
          1    /usr/lib/jvm/java-6-sun/jre/bin/java
          2    /usr/bin/cacao
*+        3    /usr/lib/jvm/java-6-openjdk/jre/bin/java

Premi invio per mantenere il default[*], o inserisci il numero da selezionare:
andrea@Andrea-desktop:~$ sudo update-alternatives --config xulrunner-1.9-javaplugin.so

C'è un solo programma che fornisce xulrunner-1.9-javaplugin.so
(/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/gcjwebplugin.so). Non c'è nulla da configurare.
andrea@Andrea-desktop:~$ 
In effeti c'è ma non è cambiato nulla...
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Col "update-alternatives --config java" ci fai poco. Quello serve a configurare quale JVM far partire quando si richiama java a riga di comando, non riguarda il browser.

Però ora che hai /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/gcjwebplugin.so impostato come plugin continua a darti lo stesso problema?

Ma se sulla barra degli indirizzi di firefox digiti

Codice: Seleziona tutto

about:plugins
fra i vari plugin elencati c'è pure java? Che versione?
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Tra i vari plugins l'unico che mi pare attinente è quello dell'allegato...
Allegati
index.png
Ultima modifica di Balim il giovedì 28 agosto 2008, 9:27, modificato 1 volta in totale.
Avatar utente
Massimo S.
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1931
Iscrizione: giovedì 28 settembre 2006, 14:34

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Massimo S. »

Quello che vedo nella schermata che hai postato mi torna con il fatto che il plugin è /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/gcjwebplugin.so

Forse il sito in questione vuole per forza java di sun, quello per cui non esiste il plugin a 64bit.
A questo punto non so più che dirti .... nella guida Programmazione/Java/Architettura64Bit non spiegava come installare java a 32bit anche sui sistemi a 64? Ci hai provato?
Avatar utente
Balim
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 288
Iscrizione: martedì 19 febbraio 2008, 17:50

Re: [Java] Richiesta aggiornamento jvm

Messaggio da Balim »

Sinceramente non ho ancora controllato...
Alla fine ho agirato il problema installando ies4linux ;)
Poi farò ulteriori ricerche e posterò il risultato. Per ora grazie dell'interessamento :)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 14 ospiti