If you have JDK or JRE installed, enabling java in Firefox is easy.
Just make a symbolic link of libjavaplugin_oji.so resided in your JRE to your Firefox-Plugin directory.
In short ,
ln -s $JAVA_HOME/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/firefox-2.0.0.3/plugins/
will enable java in your Firefox.
Thursday, February 14, 2008
Wednesday, February 13, 2008
Setting Java Path
To set Java path for all user, it is needed to edit /etc/profile
Assuming that you have installed Java at /usr/java/jdk1.6.0_02
append the following lines at /etc/profile
export JAVA_HOME=/usr/java/jdk1.6.0_02
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=$JAVA_HOME/lib
You can also edit .bashrc to provide user specific Java path setup.
Assuming that you have installed Java at /usr/java/jdk1.6.0_02
append the following lines at /etc/profile
export JAVA_HOME=/usr/java/jdk1.6.0_02
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=$JAVA_HOME/lib
You can also edit .bashrc to provide user specific Java path setup.
Subscribe to:
Posts (Atom)