View previous topic :: View next topic |
Author |
Message |
toufou Guru
Joined: 07 Jun 2004 Posts: 326
|
Posted: Tue Oct 11, 2005 10:28 am Post subject: (java) pb a l'installation |
|
|
j'ai voulu installer java sur la machine (je n'avais meme pas fait attention qu'il y avait deja une version installee. J'ai suivi le guide java avec gentoo et choisi la verion de sun
durant l'installation j'ai eu ce message (a la fin):
Code: | * Found no JDK, setting sun-jre-bin-1.5.0.04 as default system VM
javac not found at /opt/sun-jre-bin-1.5.0.04/bin/javac or /opt/sun-jre-bin-1.5.0.04/jre/bin/javac
javadoc not found at /opt/sun-jre-bin-1.5.0.04/bin/javadoc or /opt/sun-jre-bin-1.5.0.04/jre/bin/javadoc
jar not found at /opt/sun-jre-bin-1.5.0.04/bin/jar or /opt/sun-jre-bin-1.5.0.04/jre/bin/jar
rmic not found at /opt/sun-jre-bin-1.5.0.04/bin/rmic or /opt/sun-jre-bin-1.5.0.04/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"
>>> Regenerating /etc/ld.so.cache... |
toujours en suivant la doc, j'ai verifie quels systemes etaient dispo sur ma machine:
Code: | java-config --list-available-vms
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02" (/etc/env.d/java/20blackdown-j
re-1.4.2.02) *
[sun-jre-bin-1.5.0.04] "Sun JRE 1.5.0.04" (/etc/env.d/java/20sun-jre-bin-1.5.0.0
4) |
mais si je veux utiliser le systeme de sun j'ai ca:
Code: | # java-config --set-system-vm=sun-jre-bin-1.5.0.04
javac not found at /opt/sun-jre-bin-1.5.0.04/bin/javac or /opt/sun-jre-bin-1.5.0.04/jre/bin/javac
javadoc not found at /opt/sun-jre-bin-1.5.0.04/bin/javadoc or /opt/sun-jre-bin-1.5.0.04/jre/bin/javadoc
jar not found at /opt/sun-jre-bin-1.5.0.04/bin/jar or /opt/sun-jre-bin-1.5.0.04/jre/bin/jar
rmic not found at /opt/sun-jre-bin-1.5.0.04/bin/rmic or /opt/sun-jre-bin-1.5.0.04/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" |
bref, je suis inquiet. que faire pour avoir une installation fonctionelle ? |
|
Back to top |
|
|
hiboo n00b
Joined: 17 Jan 2005 Posts: 55
|
Posted: Tue Oct 11, 2005 11:58 am Post subject: |
|
|
tu as fait ce qui est indiqué à la fin ?
Code: | /usr/sbin/env-update && source /etc/profile |
|
|
Back to top |
|
|
ryo-san l33t
Joined: 17 Feb 2005 Posts: 729
|
Posted: Tue Oct 11, 2005 1:22 pm Post subject: |
|
|
lut
ben j'ai eu le meme probleme mais il n'y a rien d'alarmant puisque javac c'est le compilateur java donc si tu ne developpes rien en java , pas de soucis, javadoc je passe ,et jar ben j'en sais rien mais a priori ca doit fonctionner si c'est uniquement pour le net.
j'ai installé le jdk pour voir et le message disparait.par contre j'ai un soucis avec les applets de certains sites et notamment celui de skyrock (le chat) , ma femme a ses habitudes la-bas .
voici le message d'erreur :
Code: |
Image cache enabled
Audio cache: enabled
ClassLoader cache size: 10
java.lang.ClassNotFoundException: onetoplanet.IrcApplet
at com.opera.PluginClassLoader.findClass(PluginClassLoader.java:325)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.opera.PluginClassLoader.loadClass(PluginClassLoader.java:387)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.opera.PluginPanel.run(PluginPanel.java:403)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: HTTP Connection failed.
at com.opera.PluginClassLoader.readClassFile(PluginClassLoader.java:334)
at com.opera.PluginClassLoader.access$100(PluginClassLoader.java:35)
at com.opera.PluginClassLoader$4.run(PluginClassLoader.java:315)
at java.security.AccessController.doPrivileged(Native Method)
at com.opera.PluginClassLoader.findClass(PluginClassLoader.java:312)
... 5 more
|
J'ai vu sur le site de java plusieurs personnes dans ce cas et ma foi toujours pas de soluce.
bon c'est juste pour te prevenir que j'ai la meme erreur avec toutes les versions jre ou jdk si jamais tu as la meme fais le moi savoir.
pour ton probleme, l'installation de jdk le fais disparaitre .
salut. |
|
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
|
|