Salut à tous,
je sais l'information est dans la documentation à cette adresse :
http://doc.fedora-fr.org/wiki/Java_Sun_:_Installation_(plugin,_JRE,_JDK)
Mais j'ai un problème c'est peut être lié au fait qu'elle date un peu cette documentation.
Donc en fait à la base j'avais installé icedtea-web (version i686) et ça marche pour pas mal de site sauf celui où j'ai besoin d'envoyer un fichier... Bien sûr j'ai voulu passer au JRE du coup.
En cliquant sur le lien de la doc (
http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html) on nous indique bien que les paquets à cette adresse sont EOL.
Donc j'ai fouillé pour trouver le paquet plus à jour :
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html
Là déjà il n'y a plus le .bin... Pas trop grave il y a mieux : un RPM en version i586 pour mon ordinateur portable.
Je télécharge j'installe et :
# rpm -q jre
jre-1.7.0-fcs.i586
Ça semble correct. Je génère le lien symbolique comme dans la doc en changeant un peu les $PATH qui ont changé :
# ln -fs /usr/java/jre1.7.0/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
Je relance Firefox (qui d'ailleurs est passé en version 6 aujourd'hui) mais rien dans about:plugins pas de java (j'ai supprimé icedtea).
J'ai aussi essayé avec l'autre fichier libjavaplugin_oji.so disponible dans le paquet mais c'est pareil ça ne marche pas. Quelqu'un a une idée ?
Au passage :
# rpm -q jre --filesbypkg | grep pluginjre /usr/java/jre1.7.0/lib/i386/libjavaplugin_jni.so
jre /usr/java/jre1.7.0/lib/i386/libjavaplugin_nscp.so
jre /usr/java/jre1.7.0/lib/i386/libjavaplugin_nscp_gcc29.so
jre /usr/java/jre1.7.0/lib/i386/libjavaplugin_oji.so
jre /usr/java/jre1.7.0/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/pt_BR/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/zh_HK.BIG5HK/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo
jre /usr/java/jre1.7.0/lib/plugin.jar
jre /usr/java/jre1.7.0/lib/plugin.pack
jre /usr/java/jre1.7.0/plugin
jre /usr/java/jre1.7.0/plugin/desktop
jre /usr/java/jre1.7.0/plugin/desktop/sun_java.desktop
jre /usr/java/jre1.7.0/plugin/desktop/sun_java.png
jre /usr/java/jre1.7.0/plugin/i386
jre /usr/java/jre1.7.0/plugin/i386/ns7
jre /usr/java/jre1.7.0/plugin/i386/ns7/libjavaplugin_oji.so
Merci