next up previous contents
Next: Installing Java3D Up: Linux Previous: Linux   Contents

Installing the Java Plug-In on Linux

If you have installed Java, and are using Netscape, and when running JMV you get an error saying the Java Plug-In could not be found, try the following steps:

  1. Uninstall previous installation of the Java Plug-in, if applicable.
    rm -fr $HOME/.netscape/java
    rm $HOME/.netscape/plugins/javaplugin.so
  2. Set the NPX_PLUGIN_PATH environment variable:
    export NPX_PLUGIN_PATH=\(<jre>\)/plugin/i386/ns4
    Here, \(<jre>\) is the path to the top-level directory of your Java 2 Runtime Environment installation.

  3. For Netscape 6 browsers:
    Create a symbolic link in the Netscape plugins directory. If (and only if) you are using Netscape 6, you will need to create a symbolic link in the Netscape plugins directory to the path of the libjavaplugin_oji.so file. This file is located within the Java 2 SDK at:
    jre/plugin/i386/ns600/libjavaplugin_oji.so.

    cd $NETSCAPE6/plugins
    ln -s $JRE/plugin/i386/ns600/libjavaplugin_oji.so .
  4. Start (or restart) your Netscape browser.
    Start your Netscape browser. If your browser is already running, close it and restart it.

  5. Close and restart your Netscape browser again.
    Restarting the browser a second time is necessary because of bug 4358142.


next up previous contents
Next: Installing Java3D Up: Linux Previous: Linux   Contents
jmv@ks.uiuc.edu