Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Thursday, May 29, 2008

How to insatll Java plugins in Firefox on Fedora

Case 1: If you do not have have JDK >1.5 installed then download the jre for Fedora/Redhat from here:
http://java.com/en/download/help/5000010500.xml#download
And installed jre as steps given at same page.

Let say jre has been installed at /usr/java/jre1.6.0/

Case 2: If Firefox is installed as RPM then run the command:
$ cd /usr/lib/firefox-x.x.x.x/plugins
$ ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so

Case 3: If you already have JDK >1.5 installed then cd to jdk location.
Lets say jdk is insatlled at:
/usr/local/jdk1.5.0_09/
$ cd /usr/lib/firefox-x.x.x.x/plugins
$ ln -s /usr/local/jdk1.5.0_09/jre/plugin/i386/ns7/libjavaplugin_oji.so


Case 4: If Firefax has been installed manually then cd to firefox
Lets say Firefox is at /usr/local/firefox
$ cd /usr/local/firefox/plugins
$ ln -s /usr/local/jdk1.5.0_09/jre/plugin/i386/ns7/libjavaplugin_oji.so

or
$ ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so

Restart the Firefox:)

Wednesday, April 18, 2007

Install Java on Linux Machine

Download the latest JDK from http://java.sun.com/javase/downloads/index.jsp
Select jdk-xxx.xx.Linux.xxx.bin to download for Linux machine

This is a binary file so execute this file.

$ cd /usr
$ ./jdk-xxx.x-linux-i586.bin

Edit your bash profile file to set the Java home.

$cd
$vi .bash_profile
Add/edit these lines
PATH=/usr/jdk-xxx-x.x/bin

JAVA_HOME=/usr/jdk-xxx-x.x/
export JAVA_HOME

#Save and Exit from the vi

$source .bash_profile

Check the java version
$ java -version

Whats new in Ajuby 0.5