How to enable java in Firefox:
Go to www.java.com -> Downloads
download self extracting tar.gz file follow the instruction below:
working steps:
Source: https://discussions.nessus.org/thread/4284
1. Download the latest java runtime either from www.java.com -> Downloads or http://www.oracle.com/technetwork/java/javase/downloads/index.html (for myself it was jre-7u3-linux-i586.tar.gz)
2. plac it in a folder /usr/local/java and extracted it using
#tar zxvf jre-7u3-linux-i586.tar.gz
3. #update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.7.0_04/bin/java" 1
4. #update-alternatives --set java /usr/local/java/jre1.7.0_04/bin/java
Enable and Configure (Source: http://java.com/en/download/help/linux_install.xml#selfextracting)
Firefox or Mozilla
To configure the Java Plugin follow these steps:
1. Exit Firefox browser if it is already running.
2. Uninstall any previous installations of Java Plugin.
Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
3. Create a symbolic link to the libnpjp2.so file in the browser plugins directory
Go to the plugins sub-directory under the Firefox installation directory
cd <Firefox installation directory>/plugins
Create the symbolic link
ln -s <Java installation directory>/lib/i386/libnpjp2.so libjavaplugin_oji.so
Note: If you are upgrading your Java version then before creating new symbolic link you should remove old symbolic link to enable latest downloaded Java.
To remove old symbolic link:
type cd <Firefox installation directory>/plugins
rm libjavaplugin_oji.so
Example
If Firefox is installed at this directory:
/usr/lib/<Firefox installation directory>
And if the Java is installed at this directory:
/usr/java/<Java installation directory>
Then type in the terminal window to go to the browser plug-in directory:
/usr/lib/<Firefox installation directory>/plugin
Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/<Java installation directory>/lib/i386/libnpjp2.so libjavaplugin_oji.so
4. Start the Firefox browser, or restart it if it is already up.
In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded. You can also click the Tools menu to confirm that Java Console is there.
Test Installatio
Go to www.java.com -> Downloads
download self extracting tar.gz file follow the instruction below:
working steps:
Source: https://discussions.nessus.org/thread/4284
1. Download the latest java runtime either from www.java.com -> Downloads or http://www.oracle.com/technetwork/java/javase/downloads/index.html (for myself it was jre-7u3-linux-i586.tar.gz)
2. plac it in a folder /usr/local/java and extracted it using
#tar zxvf jre-7u3-linux-i586.tar.gz
3. #update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.7.0_04/bin/java" 1
4. #update-alternatives --set java /usr/local/java/jre1.7.0_04/bin/java
Enable and Configure (Source: http://java.com/en/download/help/linux_install.xml#selfextracting)
Firefox or Mozilla
To configure the Java Plugin follow these steps:
1. Exit Firefox browser if it is already running.
2. Uninstall any previous installations of Java Plugin.
Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
3. Create a symbolic link to the libnpjp2.so file in the browser plugins directory
Go to the plugins sub-directory under the Firefox installation directory
cd <Firefox installation directory>/plugins
Create the symbolic link
ln -s <Java installation directory>/lib/i386/libnpjp2.so libjavaplugin_oji.so
Note: If you are upgrading your Java version then before creating new symbolic link you should remove old symbolic link to enable latest downloaded Java.
To remove old symbolic link:
type cd <Firefox installation directory>/plugins
rm libjavaplugin_oji.so
Example
If Firefox is installed at this directory:
/usr/lib/<Firefox installation directory>
And if the Java is installed at this directory:
/usr/java/<Java installation directory>
Then type in the terminal window to go to the browser plug-in directory:
/usr/lib/<Firefox installation directory>/plugin
Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/<Java installation directory>/lib/i386/libnpjp2.so libjavaplugin_oji.so
4. Start the Firefox browser, or restart it if it is already up.
In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded. You can also click the Tools menu to confirm that Java Console is there.
Test Installatio
check if java applet is enabled
in the browser by using the following link
In that webpage, in the LIVE box, it
should display
“This web browser can indeed run Java
applets”
wait for some time for the display to
come.
No comments:
Post a Comment