Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(java) pb a l'installation
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
toufou
Guru
Guru


Joined: 07 Jun 2004
Posts: 326

PostPosted: Tue Oct 11, 2005 10:28 am    Post subject: (java) pb a l'installation Reply with quote

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
View user's profile Send private message
hiboo
n00b
n00b


Joined: 17 Jan 2005
Posts: 55

PostPosted: Tue Oct 11, 2005 11:58 am    Post subject: Reply with quote

tu as fait ce qui est indiqué à la fin ?
Code:
/usr/sbin/env-update && source /etc/profile
Back to top
View user's profile Send private message
ryo-san
l33t
l33t


Joined: 17 Feb 2005
Posts: 729

PostPosted: Tue Oct 11, 2005 1:22 pm    Post subject: Reply with quote

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 :oops: :roll:.
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
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