Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > SUSE
SUSE Vos questions sur la distribution Suse
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 03/04/2009, 14h53   #1
Membre du Club
 
Avatar de spiwis
 
Homme
Inscription : mars 2005
Messages : 148
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Belgique

Informations forums :
Inscription : mars 2005
Messages : 148
Points : 57
Points : 57
Par défaut [Suse 11.1]Problème d'emplacement java

Bonjour,
Après avoir convaincu un ami de laissé Microsoft de côté, il 'a confier son PC pour que je lui installe Linux.
Voila qui est fait. Mais j'ai un problème en voulant installer Limewire, la console me dit:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at http://www.java.com
ls: ne peut accéder /usr/lib/jvm/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /usr/lib/jvm/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
OOPS, unable to locate java exec in  /usr/lib/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
ls: ne peut accéder /usr/java/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /usr/java/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
ls: ne peut accéder /opt/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /opt/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
josph@linux-hqme:~/Documents/LImeWire/LimeWire> runLime.sh
Starting LimeWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at http://www.java.com
ls: ne peut accéder /usr/lib/jvm-commmon/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /usr/lib/jvm-commmon/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
OOPS, unable to locate java exec in  /usr/lib/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
ls: ne peut accéder /usr/java/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /usr/java/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
ls: ne peut accéder /opt/j*: Aucun fichier ou dossier de ce type
OOPS, unable to locate java exec in  /opt/  hierarchy
You need to upgrade to JRE 1.6.x or newer from http://www.java.com
Il semblerait que java ne soit pas à la bonne place ou que LimeWire ne va pas à la bonne place.
Pourriez-vous me dire quel répertoire je dois indiquer à LimeWire pour permettre l'installation?

Merci.
spiwis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/04/2009, 22h03   #2
Membre du Club
 
Avatar de spiwis
 
Homme
Inscription : mars 2005
Messages : 148
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Belgique

Informations forums :
Inscription : mars 2005
Messages : 148
Points : 57
Points : 57
Est-il possible de connaitre la version de java installée ?
spiwis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/04/2009, 18h15   #3
Modérateur
 
Avatar de sinok
 
Inscription : août 2004
Messages : 8 083
Détails du profil
Informations personnelles :
Âge : 31
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : août 2004
Messages : 8 083
Points : 10 687
Points : 10 687
En ce qui concerne java tu peux voire la version utilisée dans le path en utilisant la commande

dans un terminal.

Pour changer

Pour changer la version de java installée il faut passer par la commande
Code :
update-alternatives --config java
en mode root.

cf http://fr.opensuse.org/Java
__________________
Hey, this is mine. That's mine. All this is mine. I'm claiming all this as mine. Except that bit. I don't want that bit. But all the rest of this is mine. Hey, this has been a really good day. I've eaten five times, I've slept six times, and I've made a lot of things mine. Tomorrow, I'm gonna see if I can't have sex with something.
sinok est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/04/2009, 22h25   #4
Membre du Club
 
Avatar de spiwis
 
Homme
Inscription : mars 2005
Messages : 148
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Belgique

Informations forums :
Inscription : mars 2005
Messages : 148
Points : 57
Points : 57
Effectivement, une nouvelle installation n'impplique pas d'avoir la dernière version de java.
Je suis à la 1.5.0
Aprés avoir téléchargé et installé la dernière version, le problème suivant se pose: jre s'est installé dans le répertoire courant et le système ne le voit pas je pense qu'elle devrait être dans le répertoire /usr) .Même la commande donne comme résultat
Code :
le paquetage jre n'est pas installé
et voici ce que donne le commande :
Code :
update-alternatives --config java
:
Code :
 update-alternatives: command not found
Bref j'avance mais à petit pas.
spiwis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/04/2009, 01h49   #5
Modérateur
 
Avatar de sinok
 
Inscription : août 2004
Messages : 8 083
Détails du profil
Informations personnelles :
Âge : 31
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : août 2004
Messages : 8 083
Points : 10 687
Points : 10 687
Java est disponible via yast en ajoutant un dépot, c'est beaucoup plus propre qu'une installation à la barbare avec les paquets sun.

En ce qui concerne update-alternatives, cette commande n'est disponible qu'en root, pas en tant que user lambda
__________________
Hey, this is mine. That's mine. All this is mine. I'm claiming all this as mine. Except that bit. I don't want that bit. But all the rest of this is mine. Hey, this has been a really good day. I've eaten five times, I've slept six times, and I've made a lot of things mine. Tomorrow, I'm gonna see if I can't have sex with something.
sinok est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/04/2009, 08h58   #6
Membre du Club
 
Avatar de spiwis
 
Homme
Inscription : mars 2005
Messages : 148
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Belgique

Informations forums :
Inscription : mars 2005
Messages : 148
Points : 57
Points : 57
Merci.
J'ai mis à jour à partir du dépot et tout s'est très bien passé.

Merci pour votre aide.
spiwis est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 01h15.


 
 
 
 
Partenaires

Hébergement Web