sept
27
Ubuntu, Java : Choix de la machine virtuelle
 
Après un update de la machine java…
 
Lister les machines disponibles :
sudo update-alternatives --config java
 
La liste s'affiche:
  Sélection    Alternative ---          1    /usr/bin/gij-wrapper-4.1 +        2    /usr/lib/jvm/java-gcj/jre/bin/java *         3    /usr/lib/jvm/java-6-sun/jre/bin/j
 
Valider en choisisant le bon numéro

Pour verifier relancer

java -version
java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
 
Trouvé sur : http://gcroes.com/blog/ 

  • Laisser un commentaire
  • Subscribe and Share
  • Related Posts

Join the discussion; throw in your own two cents by filling the form below:

Name Required:

Email Required:

Website Optional

Want your picture in comment? Go to gravatar.com & upload your preferred avatar for free

Comment Required: