[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ A ] [ next ]

Debian GNU/Linux Java FAQ.
Chapter 8 - Java Plugins for Browsers


The following section describes how you can use Java in web browsers in order to be able to run applets published in web servers.


8.1 Can I use any JVM as a Java Plugin?

That is a tricky question. My answer would be: "No, but it doesn't hurt trying" (and don't forget to forward us your findings so we can update this document)


8.2 Can I use Java in Konqueror?

Yes, in Konqueror 3.1.1, you Settings->Configure Konqueror. The opened Control Module has a Java&JavaScript section where you can enter the location of your JVM. The configuration should look like this:

gp>As it says /usr/bin/java it relies on the update-alternatives mechanism to point to a JVM that can serve as a plugin. If you have Sun's J2RE installed, "Path to Java" might also say something like /usr/local/j2sdk1.4.1/jre/bin/java


8.3 Can I use Java in Netscape 6.x/7.x?

Yes. Make a symbolic link in the /path/to/netscape/plugins directory to the Java Plugin as can be found in Sun's J2RE:

     /usr/local/netscape/plugins $ ls -la
     total 960
     drwxr-sr-x    2 root     staff        4096 Apr 30 09:46 .
     drwxr-sr-x    9 root     staff        4096 Apr  8 20:26 ..
     -rw-r--r--    1 root     staff        2363 Feb  8 07:47 ShockwaveFlash.class
     -rw-r--r--    1 root     staff      946108 Feb  8 07:47 libflashplayer.so
     lrwxrwxrwx    1 root     staff          64 Apr 30 09:46 libjavaplugin_oji.so -> /usr/local/j2sdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so
     -rwxr-xr-x    1 root     staff       19396 Feb  8 07:47 libnullplugin.so

If you have Blackdown's J2RE installed the link has to be made to /usr/lib/j2se/1.4/jre/plugin/i386/mozilla/javaplugin_oji.so.


8.4 Can I use Java in Mozilla 1.x?

Yes, the mechanism is identical to that of Netscape. However, the plugin directory in this case is usr/lib/mozilla/plugins.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ A ] [ next ]

Debian GNU/Linux Java FAQ.

$Revision: 1.33 $ 8 September 2003Sat, 7 Jun 2003 00:41:53 +0200

Javier Fernández-Sanguino Peña jfs@computer.org