Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[JAVA] Installazione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jun 14, 2004 7:41 pm    Post subject: Reply with quote

alkaid wrote:
i tecnici di iwbank mi hanno detto che funziona anche con linux
leggete qui cosa mi han detto:
http://forum.iwbank.it/showthread.php?s=&threadid=2800


Ti hanno detto di installare una 1.3.x e non una 1.4.

Code:
emerge /usr/portage/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild


e ti scarichi a mano i pacchetti che chiede.
_________________
Ciao da me!
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Mon Jun 14, 2004 7:44 pm    Post subject: Reply with quote

alkaid wrote:
******************************************************
* After installing sun-jre-bin-1.4.2.04 this
* was set as the default JVM to run.
* When finished please run the following so your
* enviroment gets updated.
* /usr/sbin/env-update && source /etc/profile
* Or use java-config program to set your preferred VM
* ******************************************************
[cut]
* IMPORTANT: 85 config files in /etc need updating.
* IMPORTANT: 13 config files in /usr/kde/3.2/share/config need updating.

non mi ha chiesto nulla


Nzomma... Prova a dare
Code:
etc-update

e metti ordine tra i vari files di configurazione.

ATTENTO è una operazione da fare con molta calma. Ti verranno elencati tutti i file di configurazione che sono stati modificati nel corso delle varie installazioni. NON DARE il comando sostituisci tutti automaticamente: potresti ritrovarti un sistema instabile e/o non funzionante.

Valuta bene se i file che ti indica li hai mai modificati o se contengono delle impostazioni che tu potresti aver modificato tramite GUI [i file di config di KDE ad es].Se sono script, sovrascrivili pure, ma se hai anche solo il minimo dubbio su qualche file, lascialo lì e poi chiedi aiuto sul forum.


Cmq l'installazione è andata a buon fine e ciò è un buon segno. Hai dato
Code:
 /usr/sbin/env-update && source /etc/profile

Come ti ha suggerito portage?

Dopo aver dato il comando di cui sopra, digita sempre da console
Code:
java-config --list-available-vms

Qual è l'output?
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)


Last edited by .:deadhead:. on Mon Jun 14, 2004 8:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Mon Jun 14, 2004 7:46 pm    Post subject: Reply with quote

randomaze wrote:
Ti hanno detto di installare una 1.3.x e non una 1.4.

Code:
emerge /usr/portage/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild


e ti scarichi a mano i pacchetti che chiede.


Prima di dare la colpa alla versione della JVM perchè non assicurarci che quella che ha sia stata installata correttamente? :wink:
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jun 14, 2004 7:57 pm    Post subject: Reply with quote

.:deadhead:. wrote:
Prima di dare la colpa alla versione della JVM perchè non assicurarci che quella che ha sia stata installata correttamente? :wink:


Perché mi sembra strano che gli abbiano detto di usare la 1.3.x e non "una versione di java almeno 1.3".
Se poi va bene anche la 1.4 ben venga!
_________________
Ciao da me!
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Mon Jun 14, 2004 8:25 pm    Post subject: Reply with quote

.:deadhead:. wrote:
alkaid wrote:
******************************************************
* After installing sun-jre-bin-1.4.2.04 this
* was set as the default JVM to run.
* When finished please run the following so your
* enviroment gets updated.
* /usr/sbin/env-update && source /etc/profile
* Or use java-config program to set your preferred VM
* ******************************************************
[cut]
* IMPORTANT: 85 config files in /etc need updating.
* IMPORTANT: 13 config files in /usr/kde/3.2/share/config need updating.

non mi ha chiesto nulla


Nzomma... Prova a dare
Code:
etc-update

e metti ordine tra i vari files di configurazione.

ATTENTO è una operazione da fare con molta calma. Ti verranno elencati tutti i file di configurazione che sono stati modificati nel corso delle varie installazioni. NON DARE il comando sostituisci tutti automaticamente: potresti ritrovarti un sistema instabile e/o non funzionante.

Valuta bene se i file che ti indica li hai mai modificati o se contengono delle impostazioni che tu potresti aver modificato tramite GUI [i file di config di KDE ad es].Se sono script, sovrascrivili pure, ma se hai anche solo il minimo dubbio su qualche file, lascialo lì e poi chiedi aiuto sul forum.


Cmq l'installazione è andata a buon fine e ciò è un buon segno. Hai dato
Code:
 /usr/sbin/env-update && source /etc/profile

Come ti ha suggerito portage?

Dopo aver dato il comando di cui sopra, digita sempre da console
Code:
java-config --list-available-vms

Qual è l'output?



HO GIÀ SEGUITO L'INDICAZIONE DI RANDOMAZE OSSIA HO MESSO LA 1.3

bash-2.05b# /usr/sbin/env-update && source /etc/profile
* Caching service dependencies...
barton etc # java-config --list-available-vms
[sun-jdk-1.3.1.09] "Sun JDK 1.3.1.09" (/etc/env.d/java/20sun-jdk-1.3.1.09) *
[sun-jre-bin-1.4.2.04] "Sun JRE 1.4.2.04" (/etc/env.d/java/20sun-jre-bin-1.4.2.04)
barton etc #
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Mon Jun 14, 2004 8:29 pm    Post subject: Reply with quote

/usr/kde/3.2/share/config/kdm/._cfg0002_kdmrc
/usr/kde/3.2/share/config/kdm/._cfg0003_kdmrc
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'):

come faccio a sapere se è uno script?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jun 14, 2004 8:33 pm    Post subject: Reply with quote

alkaid wrote:
/usr/kde/3.2/share/config/kdm/._cfg0002_kdmrc
/usr/kde/3.2/share/config/kdm/._cfg0003_kdmrc
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'):

come faccio a sapere se è uno script?


Perché vuoi sapere se é uno script :?:
Comunque:
Code:

file /usr/kde/3.2/share/config/kdm/._cfg0002_kdmrc


di norma i file che etc-update va a modificare sono sempre dei file di testo, se in quel momento premi semplicemente [invio] di fa vedere le differenze tra il file che vuol mettere e il vecchio....
_________________
Ciao da me!
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Mon Jun 14, 2004 8:48 pm    Post subject: Reply with quote

alkaid wrote:
/usr/kde/3.2/share/config/kdm/._cfg0002_kdmrc
/usr/kde/3.2/share/config/kdm/._cfg0003_kdmrc
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'):

come faccio a sapere se è uno script?


in genere basta che ne selezioni il numero con parentesi che c'è all'inizio della riga per analizzare il file.

Cmq in quel caso è il file di configurazione di KDM l'applicazione usata sotto KDE per fare login una volta lanciato il sever X.

Visualizza le differenze tra il file di config ed il tuo file,se non si sono aggiunte o tolte nuove opzioni puoi pure tenere il tuo originale, rifiutando le proposte di portage. Alla fine di tutto xò fati un giro sotto /Centro di Controllo/Amministrazione di sistema/Gestione degli accessi giusto per eventualmente rimettere a posto qualche parametro che potrebbe esser andato perduto. :roll:

Cmq quel file di config è irrilevante ai nostri fini. Vedo dal risultato di java-config che ora hai entrambe le JVM di SUN sia la 1.3 che l'ultima 1.4

Andiamo per gradi. Per ora prova a far funzionare sto programma sotto la 1.3. Hai installato il plugin x il browser che usi? A proposito, che browser usi? :wink:
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Mon Jun 14, 2004 10:22 pm    Post subject: Reply with quote

Andiamo per gradi. Per ora prova a far funzionare sto programma sotto la 1.3. Hai installato il plugin x il browser che usi? A proposito, che browser usi

uso mozilla e non ho installato nessun plugin
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Jun 15, 2004 10:01 am    Post subject: Reply with quote

.:deadhead:. wrote:
Per ora prova a far funzionare sto programma sotto la 1.3


"fonti ben informate" mi hanno confermato che bisogna usare la 1.3, la versdione di Java più recente non é ancora ufficialmente supportata e ne stanno testando una versione modificata specifica per Java 1.4
_________________
Ciao da me!
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Jun 15, 2004 10:26 am    Post subject: Reply with quote

Allora? :P Hai provato, va tutto?

Siamo curiosi di sapere come è andata.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Tue Jun 15, 2004 9:09 pm    Post subject: Reply with quote

mi hai detto di andare per gradi, mi hai chiesto quale browser uso.... uso mozilla e non ho installato plugin cosa devo installare ora?
Quick Trade ancora non funziona, devo avviare Java Web Start? come si fa?

p.s. non potrò rispondere prima di domani sera :(
vi ringrazio molto per l'aiuto che mi state dando
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Wed Jun 16, 2004 3:37 pm    Post subject: Reply with quote

up
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Jun 16, 2004 4:02 pm    Post subject: Reply with quote

alkaid wrote:
up


Beh prima di fare l'up dovresti dirci se java é ok, se con il browser riesci a vedere qualche sito con applet java e simili.
_________________
Ciao da me!
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Wed Jun 16, 2004 9:38 pm    Post subject: Reply with quote

scusami se ho fatto up ma non avvo capito cosa dovessi fare...
allora, sono andato su http://www.anfyteam.it/anj/wheelmenu/wheelmenu.html

e l'applet java non funziona.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jun 17, 2004 7:04 am    Post subject: Reply with quote

alkaid wrote:
scusami se ho fatto up ma non avvo capito cosa dovessi fare...
allora, sono andato su http://www.anfyteam.it/anj/wheelmenu/wheelmenu.html

e l'applet java non funziona.


1. Mozilla é stato compilato con la use +java?
2. Se non ricordo male su Mozilla c'é la console Java... hai provato a vedere cosa dice?

EDIT:
3. cosa dice Mozilla se scrivi "about:plugins" nella barra dell'URL?
4. Hai fatto qualcosa tipo:
Code:

java-config --set-system-vm=sun-jdk-1.4.2
env-update
source /etc/profile

_________________
Ciao da me!
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Thu Jun 17, 2004 10:21 am    Post subject: Reply with quote

1. Mozilla lo ho appena ricompilato con la USE +java
2. La console java non me la da, ovvero c'è scritto java console in grigetto quindi non selezionabile, poi c'è la javascript console e javascript debugger ma non so dove metterci mano
3. about:plugins
Installed plug-ins
Find more information about browser plug-ins at Netscape.com.
Help for installing plug-ins is available from plugindoc.mozdev.org.
Default Plugin

File name: libnullplugin.so
The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.

MIME Type Description Suffixes Enabled
* All types .* Yes
Shockwave Flash

File name: libflashplayer.so
Shockwave Flash 6.0 r81

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes
Kaffeine Starter Plugin

File name: kaffeineplugin.so
Will start external Kaffeine Media Player for embedded media streams.

MIME Type Description Suffixes Enabled
video/mpeg MPEG animation mpeg, mpg, mpe Yes
video/x-mpeg MPEG animation mpeg, mpg, mpe Yes
audio/mpeg2 MPEG audio mp2 Yes
audio/x-mpeg2 MPEG audio mp2 Yes
audio/mpeg3 MPEG audio mp3 Yes
audio/x-mpeg3 MPEG audio mp3 Yes
audio/mpeg MPEG audio mpa,abs,mpega Yes
audio/x-mpeg MPEG audio mpa,abs,mpega Yes
video/quicktime Quicktime animation mov,qt Yes
video/x-quicktime Quicktime animation mov,qt Yes
video/msvideo AVI animation avi Yes
video/x-msvideo AVI animation avi Yes
application/x-mplayer2 mplayer2 asf,asx,asp Yes
video/x-ms-asf-plugin mms animation asf,asx,asp Yes
audio/x-pn-realaudio-plugin Real audio rpm Yes
audio/x-ogg OGG Media ogg,ogm Yes
audio/x-scpls MPEG audio pls Yes
audio/x-ms-wma Microsoft Media Audio wma Yes
video/x-ms-wmv Microsoft Media Video wmv Yes
audio/x-mpegurl Streaming-MPEG-Audio m3u Yes

4.bash-2.05b# java-config --set-system-vm=sun-jdk-1.4.2
jc_options: VM not found, use --list-available-vms
bash-2.05b#
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Thu Jun 17, 2004 10:50 am    Post subject: Reply with quote

Posta l'output di
Code:
$ java-config --list-available-vms

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Thu Jun 17, 2004 11:22 am    Post subject: Reply with quote

bash-2.05b# java-config --list-available-vms
[sun-jdk-1.3.1.09] "Sun JDK 1.3.1.09" (/etc/env.d/java/20sun-jdk-1.3.1.09) *
[sun-jre-bin-1.4.2.04] "Sun JRE 1.4.2.04" (/etc/env.d/java/20sun-jre-bin-1.4.2.04)
bash-2.05b#
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Thu Jun 17, 2004 11:22 am    Post subject: Reply with quote

Allora
Code:
# java-config --set-system-vm=sun-jre-bin-1.4.2.04
# env-update
# source /etc/profile

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Thu Jun 17, 2004 11:36 am    Post subject: Reply with quote

fatto, ora dovrebbe funzionare? devo riavviare mozilla?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jun 17, 2004 12:08 pm    Post subject: Reply with quote

alkaid wrote:
fatto, ora dovrebbe funzionare? devo riavviare mozilla?


Dal momento che la gente non si può rileggere ogni volta il thread dovresti cercare di leggere i suggerimenti con un minimo di attenzione.

Ti serve la JVM 1.3.x allora quella deve essere la JVM da usare.
Con il comando:
Code:

# java-config --set-system-vm=--list-available-vms

vedi l'elenco delle JVM installate nel sistema. da quell'elenco prendi quella che ti interessa (1.3.qualcosa) e dai il comando:
Code:

# java-config --set-system-vm=jdk-che-hai-installato


Ok?
_________________
Ciao da me!
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Thu Jun 17, 2004 1:03 pm    Post subject: Reply with quote

scusa Randomaze ma uno mi dice di fare una cosa, uno mi dice di farne un'altra e così vien fuori un casino, ora seguo quello che mi dici solo tu e prego gli altri di non rispondere a questo post cosìcchè ci possa essere un dialogo tra me e te senza che il post debba essere riletto, ve bene?
Back to top
View user's profile Send private message
alkaid
Guru
Guru


Joined: 21 Feb 2004
Posts: 322
Location: Padova

PostPosted: Thu Jun 17, 2004 1:11 pm    Post subject: Reply with quote

allora, ho fatto:

bash-2.05b# java-config --list-available-vms
[sun-jdk-1.3.1.09] "Sun JDK 1.3.1.09" (/etc/env.d/java/20sun-jdk-1.3.1.09)
[sun-jre-bin-1.4.2.04] "Sun JRE 1.4.2.04" (/etc/env.d/java/20sun-jre-bin-1.4.2.04) *

bash-2.05b# java-config --set-system-vm=sun-jdk-1.3.1.09
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"

bash-2.05b# env-update
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
bash-2.05b# source /etc/profile

barton loris #

ho riavviato mozilla e ho provato la QuickTrade che però ancora non parte...
cosa devo fare ora?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jun 17, 2004 1:16 pm    Post subject: Reply with quote

alkaid wrote:
ho riavviato mozilla e ho provato la QuickTrade che però ancora non parte...


guardi se mettendo "about:plugins" nella barra dell'url appaiono le voci di Java.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum