Netcool/Webtop


About Webtop
My Home
Administration
Documentation
Logout

JavaTM 2 Plug-in for Linux/x86


The JavaTM 2 Runtime Environment (J2RE) for Linux/x86 can be downloaded here. If you require the Plug-in for another platform, visit the main Plug-in page.


Installation Instructions

The J2RE must be installed before the Plug-in can be used. Note the special Java Plug-in installation instructions at the end.

  1. Save the J2RE Self extracting .bin file to the directory you want to install into.
    Right click menu, "Save Link As".

  2. Change to the directory you want to install into.
    For example, if you want to install the software in the /usr/java/ directory, then execute:
       cd /usr/java
    

  3. Run j2re-1_4_2_03-linux-i586.bin and agree to the license it displays.
    Launch the executable file you downloaded, j2re-1_4_1_02-linux-i586.bin, by using the following commands from the directory in which it is located:
    chmod a+x j2re-1_4_2_03-linux-i586.bin
    
    ./j2re-1_4_2_03-linux-i586.bin
    
    The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will install the JRE in a directory called jre1.4 in the current directory.

    Note about root access - Unbundling the software in the next step automatically creates a directory called jre1.4. Note that if you choose to install the Java 2 Runtime Environment into system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java 2 Runtime Environment into your home directory, or a subdirectory that you have permission to write to.

  4. Become root:
    su
    

  5. Run the rpm command to install the packages:
    rpm -iv j2re-1_4_2_03-linux.rpm
    

    This will install the packages comprising the Java 2 Runtime Environment.


    Note: It can happen that your installation may fail with a message such as "glibc >= 2.1.2-11 is needed by jre-1.4" even though glibc 2.1.2 (or greater) is on your system. This can happend when your glibc was not installed as part of an rpm package and is therefore not on the rpm file list. In that case, this JRE 1.4 rpm installation package won't recognize that glibc is installed. To force the JRE 1.4 installation to proceed, use the --force option:
    rpm -iv --force j2re-1_4_2_03-linux.rpm
    

  6. Exit the root shell.

Java Plug-in Installation Instructions

To install the Java Plug-in follow these 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/i586
    
    Here, <jre> is the path to the jre1.3 directory of your Java 2 Runtime Environment installation.

  3. Start (or restart) your Netscape browser.
    Start your Netscape browser. If your browser is already running, close it and restart it.

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



Netcool® is a registered trademark of Micromuse Inc
JavaTM is a registered trademark of Sun Microsystems Inc