View previous topic :: View next topic |
Author |
Message |
tlepo Tux's lil' helper
Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Wed Sep 06, 2006 11:16 pm Post subject: [java] probleme VM pour generation-1 (résolu) |
|
|
Bonsoir,
Je viens d'installer une Gentoo (AMD-64) en ARCH="~amd64". X fonctionne et j'essaie d'obtenir KDE.
Or, en cours de route, je bute sur l'installation de cyrus-sasl-2.1.22:
Code: |
[...]
*checking cyrus-sasl-2.1.22.tar.gz ;-) ... [OK]
There was a problem determining which VM to use for generation-1
This is because the way Java us handled on Gentoo has drastically changed.
You should probably install =virtual/jdk-1.4* or install =virtual/jdk-1.3*
[...]
|
J'ai émergé jdk-1.4* mais java-check-environment après avoir mis:
Code: |
checking vm_environment files [OK]
checking user_settings [OK]
|
ajoute:
Code: |
No Generation-1 System VM is set! (no /etc/env.d/20java)
Run 'java-config-1 -L' to see a list of available VMs
Run 'java-config-1 -S <VM choice>'
Run 'env-update && source /etc/profile'
|
L'erreur semble provenir du cas de figure décrit ICI mais, lorsque je lance:
j'obtiens:
Code: |
[blackdown-jdk-1.4.2.03] (/etc/env.d/java/20blackdown-jdk-1.4.2.03)
|
et lorsque j'exécute:
Code: |
java-config-1 -S blackdown-jdk-1.4.2.03
|
le système me retourne une série d'erreurs comme:
Code: |
File "/usr/bin/java-config-1", line 123 in ?
....
find_exec
jh = JAVA_HOME
NameError: global name 'JAVA_HOME' is not defined
|
Là, je suis perdu pour de bon. Merci pour tout conseil.
Last edited by tlepo on Thu Sep 07, 2006 8:34 am; edited 1 time in total |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
|
Back to top |
|
|
tlepo Tux's lil' helper
Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
|
Back to top |
|
|
tlepo Tux's lil' helper
Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Thu Sep 07, 2006 8:33 am Post subject: |
|
|
Bon, en désespoir de cause, j'ai transféré le fichier /etc/env.d/20java d'une autre machine AMD64 sur mon portable où 20java n'existait pas. Ce n'est pas très élégant mais, ça m'a dépanné.
La commande java-check-environment est exécutée sans signaler de problème.
La commande java-config-1 -L fonctionne correctement.
Bien que la commande java-config-1 --set-system-vm blackdown-jdk-1.4.2.03 retourne des commentaires sur les lignes de scripts:
Code: |
File "/usr/bin/java-config-1", line 123 in ?
....
find_exec
jh = JAVA_HOME
NameError: global name 'JAVA_HOME' is not defined
|
cyrus-sasl est émergé correctement en signalant que la VM est correctement fixée.
Lorsque mon installation serait opérationnelle, je passerai à jdk-1.5.
A+ T |
|
Back to top |
|
|
|
|
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
|
|