Bonjour,
Il y a une version de java (GCJ) avec la fedora core 7, mais il faut installer le jre 1.6 i586 et pour firefox, il faut une version i586 disponible à l'adresse
http://download.mozilla.org/?lang=fr&product=firefox-2.0.0.4&os=linux
Firefox à besoin de la librairie libstdc++.so.5 , il faut donc installer compat-libstdc++-33-3.2.3-61.i386.rpm
Ensuite il y a quelques modifications à faire au niveau des liens :
dans le répertorie /usr/bin il y a des liens à modifier :
[root@localhost bin]# ls -l java*
lrwxrwxrwx 1 root root 22 jun 3 09:29 java -> /etc/alternatives/java
lrwxrwxrwx 1 root root 27 jun 3 10:24 javac -> /usr/java/default/bin/javac
lrwxrwxrwx 1 root root 29 jun 3 10:24 javadoc -> /usr/java/default/bin/javadoc
[root@localhost bin]# rm -f java*
[root@localhost bin]# ln -s /usr/java/jdk1.6.0_01/bin/java java
[root@localhost bin]# ln -s /usr/java/jdk1.6.0_01/bin/javac javac
[root@localhost bin]# ln -s /usr/java/jdk1.6.0_01/bin/javadoc javadoc
Ensuite dans le répertoire : /etc/alternatives il faut faire de même
[root@localhost bin]# cd /etc/alternatives
[root@localhost alternatives]# ls -l
total 160
lrwxrwxrwx 1 root root 21 jun 3 09:21 etags -> /usr/bin/etags.xemacs
lrwxrwxrwx 1 root root 35 jun 3 09:29 java -> /usr/lib/jvm/jre-1.5.0-gcj/bin/java
lrwxrwxrwx 1 root root 29 jun 3 09:34 jaxp_parser_impl -> /usr/share/java/xerces-j2.jar
lrwxrwxrwx 1 root root 28 jun 3 09:34 jaxp_transform_impl -> /usr/share/java/xalan-j2.jar
lrwxrwxrwx 1 root root 26 jun 3 09:29 jre -> /usr/lib/jvm/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 26 jun 3 09:29 jre_1.5.0 -> /usr/lib/jvm/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_1.5.0_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 26 jun 3 09:29 jre_gcj -> /usr/lib/jvm/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_gcj_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 39 jun 3 09:31 jsp -> /usr/share/java/tomcat5-jsp-2.0-api.jar
lrwxrwxrwx 1 root root 38 jun 3 09:29 keytool -> /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool
modifications
[root@localhost alternatives]# rm -f java
[root@localhost alternatives]# ln -s /usr/java/jre1.6.0_01/bin/java java
[root@localhost alternatives]# rm -f jre_1.5.0
[root@localhost alternatives]# ln -s /usr/java/jre1.6.0_01 jre_1.5.0
[root@localhost alternatives]# rm -f jre_gcj
[root@localhost alternatives]# ln -s /usr/java/jre1.6.0_01 jre_gcj
[root@localhost alternatives]# rm -f keytool
[root@localhost alternatives]# ln -s /usr/java/jre1.6.0_01/bin/keytool keytool
après :
lrwxrwxrwx 1 root root 21 jun 3 09:21 etags -> /usr/bin/etags.xemacs
lrwxrwxrwx 1 root root 30 jun 3 10:29 java -> /usr/java/jre1.6.0_01/bin/java
lrwxrwxrwx 1 root root 29 jun 3 09:34 jaxp_parser_impl -> /usr/share/java/xerces-j2.jar
lrwxrwxrwx 1 root root 28 jun 3 09:34 jaxp_transform_impl -> /usr/share/java/xalan-j2.jar
lrwxrwxrwx 1 root root 26 jun 3 09:29 jre -> /usr/lib/jvm/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 21 jun 3 10:29 jre_1.5.0 -> /usr/java/jre1.6.0_01
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_1.5.0_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 21 jun 3 10:29 jre_gcj -> /usr/java/jre1.6.0_01
lrwxrwxrwx 1 root root 34 jun 3 09:29 jre_gcj_exports -> /usr/lib/jvm-exports/jre-1.5.0-gcj
lrwxrwxrwx 1 root root 39 jun 3 09:31 jsp -> /usr/share/java/tomcat5-jsp-2.0-api.jar
liens pour firefox
[root@localhost alternatives]# cd /usr/lib/firefox-2.0.0.4/plugins
[root@localhost plugins]# ln -s /usr/java/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
installation flash player
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
[root@localhost plugins]# pwd
/usr/lib/firefox-2.0.0.4/plugins
[root@localhost plugins]# ls -l
total 6936
-rwxr-xr-x 1 toolinux users 7040080 déc 15 22:51 libflashplayer.so
lrwxrwxrwx 1 root root 58 jun 3 10:35 libjavaplugin_oji.so -> /usr/java/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 18496 mai 31 05:57 libnullplugin.so
-rwxr-xr-x 1 root root 10752 mai 31 05:57 libunixprintplugin.so
[root@localhost plugins]#
Salutations