Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[JAVA] Machine non détectée .. (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Sun Jan 13, 2008 12:35 pm    Post subject: [JAVA] Machine non détectée .. (resolu) Reply with quote

Bonjour

Code:

localhost florent # eselect java-vm list
Available Java Virtual Machines:
  [1]   blackdown-jdk-1.4.2  system-vm
  [2]   sun-jdk-1.6
  [3]   sun-jre-bin-1.6
localhost florent # env-upadte
bash: env-upadte: command not found
localhost florent # source
localhost florent # env-update
s>>> Regenerating /etc/ld.so.cache...
localhost florent # source /etc/profile
localhost florent # java-check-environment
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many
 * respects.
 * Please refer to our upgrade guide for details:
 *      http://www.gentoo.org/proj/en/java/java-upgrade.xml

 * Checking fastjar ...                                                   [ ok ]

 * Checking vm_environment_files ...                                      [ ok ]

 * Checking user_settings ...
 * Running as root. Don't need to check user settings.                    [ ok ]

 * Checking generation_1_system_vm ...
 * No Generation-1 System VM is set! (no /etc/env.d/20java)
Traceback (most recent call last):
  File "/usr/bin/java-config-1", line 14, in <module>
    from java_config import jc_options
ImportError: No module named java_config
 * It doesn't look like java-config-1 sees any installed VMs.
 * It is most likely because you don't have a 1.4 JDK installed
 * This is required for generation-1 to work properly.
 * You will want to emerge =virtual/jdk-1.4*                              [ !! ]

 * Some problems were found. Please follow the instructions above, and rerun java-check-environment
localhost florent #                     


En fait je ne pige rien à Java et j'ai beau avoir émérge java comme cela = emerge =virtual/jdk-1.4*

Rien n'y fait ..


Last edited by dapsaille on Sun Jan 13, 2008 4:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sun Jan 13, 2008 12:40 pm    Post subject: Reply with quote

eselect ne configure que la JVM pour java génération 2 (java 1.4 1.5 1.6)
La, ton ebuild demande la JVm de génération 1 (java 1.4 seulement) => utilises la commande "java-config-1 -S 1" pour configurer la JVM generation1 ;)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Sun Jan 13, 2008 12:46 pm    Post subject: Reply with quote

GNap ...


Code:


localhost florent # java-config-1 -S 1
Traceback (most recent call last):
  File "/usr/bin/java-config-1", line 14, in <module>
    from java_config import jc_options
ImportError: No module named java_config
localhost florent #       
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sun Jan 13, 2008 1:08 pm    Post subject: Reply with quote

Pas normal ça...

Fais un petit tour par là peut-être : http://www.gentoo.org/proj/en/java/java-upgrade.xml

java-config-1 est bien installé ?
emerge -1 "=java-config-1*"

Chez moi ça donne ça :
Code:
r2d2 13:40 - 0.68 ~
# java-config-1 -L
The following JDKs are available for generation-1:
*)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2.03]
r2d2 13:40 - 0.68 ~
# java-config-1 -S 1
Now using blackdown-jdk-1.4.2 for the generation-1 system JDK

_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Sun Jan 13, 2008 4:08 pm    Post subject: Reply with quote

Jaca-config-1 n'etait pas installé ..

Super merci pour ton aide précieuse :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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