1.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Nov 2 22:01:57 CET 2011 i686 GNU/Linux
tux@slitaz:~$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode)
tux@slitaz:~$
2.
tux@slitaz:~$ ls -l /usr/lib/mozilla/plugins
total 0
lrwxrwxrwx 1 root root 34 Nov 25 19:48 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx 1 root root 50 Nov 25 19:09 libnpjp2.so -> /usr/lib/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so
tux@slitaz:~$
3.
tux@slitaz:~$ ls -l /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fall*
lrwxrwxrwx 1 root root 36 Nov 25 19:43 /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fallback -> /usr/share/fonts/truetype/droid-font
tux@slitaz:~$
4.
tux@slitaz:~$ cat get-java6-jdk.diff
--- get-java6-jdk-orig
+++ get-java6-jdk
@@ -6,9 +6,9 @@
# Author : Kévin DA SILVA
PACKAGE="java6-jdk"
-VERSION="1.6.0_13"
-URL="http://raphaello.univ-fcomte.fr/ftp/java/Jdk"
-TARBALL="jdk-6u13-linux-i586.bin"
+VERSION="1.6.0_29"
+URL="http://download.oracle.com/otn-pub/java/jdk/6u29-b11/"
+TARBALL="jdk-6u29-linux-i586.bin"
TEMP_DIR="/tmp/$PACKAGE.$$"
ROOT="$1"
@@ -80,8 +80,9 @@
post_install()
{
echo -n "Processing post install commands..."
- cd /usr/lib/firefox*/plugins
- ln -s /usr/lib/java/jdk\$VERSION/jre/plugin/i386/ns7/libjavaplugin_oji.so
+ mkdir -p /usr/lib/mozilla/plugins
+ cd /usr/lib/mozilla/plugins
+ ln -s /usr/lib/java/jdk\$VERSION/jre/lib/i386/libnpjp2.so
#lien mit dans red5 /usr/bin/javajdk
cd /usr/bin
@@ -94,8 +95,11 @@
post_remove()
{
- rm -f /usr/lib/firefox*/plugins/libjavaplugin_oji.so
+ rm -f /usr/lib/mozilla/plugins/libnpjp2.so
rm -f /usr/bin/java
+ rm -f /usr/bin/javac
+ rm -f /usr/bin/javadoc
+ rm -f /usr/bin/javap
}
EOT
tux@slitaz:~$