Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java run time
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GabrieleB
Guru
Guru


Joined: 22 Jul 2003
Posts: 317

PostPosted: Mon Jun 19, 2006 9:23 am    Post subject: Java run time Reply with quote

vorrei installare java di Sun, (preferibilmante non tutto sdk, ma solo quello che mi server per il browser e per far girare i .JAR).
Sto quindi installando il solo runtime (corretto?)
emerge vorrebbe la versione 1.5.06, ma non e' piu' scaricabile da sun, ora c'e' la 1.5.07.
ho provato l'installazione manuale, basandomi su:
https://forums.gentoo.org/viewtopic-t-253054-highlight-javaconfig.html
ma con scarsi risultati:
Code:
# java-config -S sun-jre
javac not found at /usr/java/jre1.5.0_07/bin/javac or /usr/java/jre1.5.0_07/jre/bin/javac
javadoc not found at /usr/java/jre1.5.0_07/bin/javadoc or /usr/java/jre1.5.0_07/jre/bin/javadoc
jar not found at /usr/java/jre1.5.0_07/bin/jar or /usr/java/jre1.5.0_07/jre/bin/jar
rmic not found at /usr/java/jre1.5.0_07/bin/rmic or /usr/java/jre1.5.0_07/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
        "/usr/sbin/env-update && source /etc/profile"

chemmidite ?
_________________
Keyboard error. Press F1 to continue.
Back to top
View user's profile Send private message
ramiel
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 119

PostPosted: Mon Jun 19, 2006 10:39 am    Post subject: Reply with quote

Qual'è l'output di
java-config -L

Ramiel
Back to top
View user's profile Send private message
GabrieleB
Guru
Guru


Joined: 22 Jul 2003
Posts: 317

PostPosted: Mon Jun 19, 2006 11:14 am    Post subject: Reply with quote

tel ki !
Code:
localhost java # java-config -L
[n-jre] "Sun JRE" (/etc/env.d/java/sun-jre)

_________________
Keyboard error. Press F1 to continue.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jun 19, 2006 12:08 pm    Post subject: Re: Java run time Reply with quote

GabrieleB wrote:
Sto quindi installando il solo runtime (corretto?)
emerge vorrebbe la versione 1.5.06, ma non e' piu' scaricabile da sun, ora c'e' la 1.5.07.


Andiamo con ordine.
La versione di portage non é più scaricabile, quindi cosa hai fatto per scaricare la 1.5.0.7?

Riguardo all'errore, mi sa che, se stai installando il solo JRE, non devi dare java-config, il quale serve solo per impostare il compilatore javac di default
_________________
Ciao da me!
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Mon Jun 19, 2006 1:09 pm    Post subject: Reply with quote

Ma la versione di portage e' scaricabilissima,,, l'ho fatto io ORA! basta seguire il link dell'ebuild!
Back to top
View user's profile Send private message
ramiel
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 119

PostPosted: Mon Jun 19, 2006 1:21 pm    Post subject: Reply with quote

Prova a dare

java-confid -S n-jre

perchè effettivamente non esiste nessuna voce chiamata sun-jre(che è solo la descrizione)

Poi posta anche il file 20java* che hai creato e indica dove hai installato il runtime per vedere selo hai installato correttamenet:
ti conviene spostarlo in /opt/... (ma solo per coerenza con le impostazioni di gentoo,poi puoi fare qello che vuoi)

ah,java-config serve anche a scegliere il runtime oltre che il jdk

ps. da qualche parte nel forum ci deve essere un mio post in cui ho rsolto la medesima cosa.Prova a cercare java 1.5 o qualcosa del genere
Anzi,ecco il link

Ramiel
Back to top
View user's profile Send private message
GabrieleB
Guru
Guru


Joined: 22 Jul 2003
Posts: 317

PostPosted: Mon Jun 19, 2006 3:08 pm    Post subject: Reply with quote

MeMyselfAndI wrote:
Ma la versione di portage e' scaricabilissima,,, l'ho fatto io ORA! basta seguire il link dell'ebuild!

ottimo ! scaricata la ver 1.5.06 funzia alla perfezione. Grazie :D
_________________
Keyboard error. Press F1 to continue.
Back to top
View user's profile Send private message
silvius
Guru
Guru


Joined: 16 May 2006
Posts: 364

PostPosted: Tue Jun 20, 2006 11:07 am    Post subject: Reply with quote

Mi pare di aver capito che questi problemi sono legati al fatto che java di sun ha qualcosa di anomalo nella licenza, anche se leggendo mi pare normale, cosa ha di diverso ?

Saluto
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Tue Jun 20, 2006 1:30 pm    Post subject: Reply with quote

no la cosa anomala e' che la java vm 1.5 non garantisce la piena retrocompatibilita' con la 1.4.. per questo si consiglia di usare una versione piu' compatibile per compilare il sistema e usare quella di preferenza per gli usi comuni (user).
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
Page 1 of 1

 
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