2011-10-23

Slitaz -- Java Plug-in : libnpjp2.so

tazweb-1.4
midori-0.3.6
firefox-4.0.1
google-chrome-unstable-16.0.912.4-r106469
opera-11.52.1100

Java plug-in -- libnpjp2.so

Java(TM) Plug-in 1.6.0_17
Description: The next generation Java plug-in for Mozilla browsers.
Location:    /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so


get-java6-jre and get-java6-jdk -- libjavaplugin_oji.so don't work.

echo -n "Processing post install commands..."
cd /usr/lib/firefox*/plugins
ln -s /usr/lib/java/jre\$VERSION/plugin/i386/ns7/libjavaplugin_oji.so

ln -s /usr/lib/java/jdk\$VERSION/jre/plugin/i386/ns7/libjavaplugin_oji.so


1.
root@slitaz:~# ls -l /usr/lib/mozilla/plugins/
total 0
lrwxrwxrwx    1 root     root            34 Oct 23 15:27 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx    1 root     root            46 Oct 23 16:24 libnpjp2.so -> /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
root@slitaz:~#


2. How do I test whether Java is working on my computer?
http://www.java.com/en/download/testjava.jsp

Your Java configuration is as follows:
Vendor: Sun Microsystems Inc.
Version: Java SE 6 Update 17
Operating System: Linux 2.6.37-slitaz
Architecture: i386


3. tazweb-1.4
file:///usr/share/doc/tazweb/tazweb.html
SliTaz Web Browser
[..]
The browser fast, very fast and small, the binary is about 24 Kb and uses the Webkit engine for page rendering and therefore supports all the latest web standards as well as Javascript and Flash animations or videos.


4. midori-0.3.6
about:version

Version numbers in brackets show the version used at runtime.

Command line    midori
Midori    0.3.6
WebKitGTK+    1.2.7 (1.2.7)
GTK+    2.24.4 (2.24.4)
Glib    2.28.6 (2.28.7)
libsoup    2.34.0
libnotify    Yes
libidn    No
libunique    No
libhildon    No
Platform    Linux i686
Identification    Mozilla/5.0 (X11; Linux) AppleWebKit/531.2+ Midori/0.3
Netscape Plugins:

libflashplayer.so    Shockwave Flash
libnpjp2.so    Java(TM) Plug-in 1.6.0_17
Video Formats:

H264    false
Ogg Theora    false
WebM    false


5. firefox-4.0.1
about:plugins
      Java(TM) Plug-in 1.6.0_17

      File: libnpjp2.so
      Version:
      The next generation Java plug-in for Mozilla browsers.

http://www.mozilla.org/en-US/plugincheck/


6. google-chrome-unstable-16.0.912.4-r106469
about:plugins
Java - Version: 1.6.0_17 Download Critical Security Update
The next generation Java plug-in for Mozilla browsers.
Name:    Java(TM) Plug-in 1.6.0_17
Description:    The next generation Java plug-in for Mozilla browsers.
Version:    1.6.0_17
Location:    /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so


7. opera-11.52.1100
opera:about
 About Opera
    Version information
    Version    11.52
    Build    1100
    Platform    Linux
    System    i686, 2.6.37-slitaz

    Browser identification
    Opera/9.80 (X11; Linux i686; U; en) Presto/2.9.168 Version/11.52

Paths
Preferences
/home/tux/.opera/operaprefs.ini

Saved session
/home/tux/.opera/sessions/autopera.win

Bookmarks
/home/tux/.opera/bookmarks.adr

Opera directory
/home/tux/.opera/

Cache
/home/tux/.opera/cache/

Help documents
/home/tux/.opera/opcache/

Mail directory
/home/tux/.opera/mail/

Plug-in path
/usr/lib/opera/plugins

/usr/lib/mozilla/plugins

User CSS directory
/home/tux/.opera/styles/user/
.