Thursday, February 14, 2008

Setting Java plugin for Firefox

If you have JDK or JRE installed, enabling java in Firefox is easy.
Just make a symbolic link of resided in your JRE to your Firefox-Plugin directory.

In short ,
ln -s $JAVA_HOME/jre/plugin/i386/ns7-gcc29/ /usr/lib/firefox-

will enable java in your Firefox.

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

You can also edit .bashrc to provide user specific Java path setup.