Sunday, October 14, 2012

ubuntu mozilla firefox java

Note:- Please use one of the following method and each method install diffrent version of JRE
Method 1
Install openjdk using the following command from your terminal
sudo apt-get install openjdk-7-jre
Install Java for browser – firefox/chrome..
For running applets in your web browsers such as Mozilla Firefox or Google Chrome, you need to install icedtea plugin. Execute the following command from your terminal
sudo apt-get install icedtea6-plugin
According to my research, the working directory of the Mozilla Firefox 4.0 plugins in Ubuntu 11.04 is /usr/lib/mozilla/plugins. Also, the working directory for the Java JRE is /opt/java/jre/.
All we have to do is to create a symbolic link of the libnpjp2.so file inside the plugins folder of mozilla.

1cd /usr/lib/mozilla/plugins
2sudo ln -s /opt/java/jre/lib/i386/libnpjp2.so

To verify that Java is installed in your browser, check here.

use a 32 bit jre. sun jre 1.6.0 update 16 worked fine for me, as did the 32bit openjdk.
Simply tell firefox to open the jnlp with the 32-bit javaws you install. You may need to run javaws /path/to/your/saved/jnlp to see if there are any 32 bit libraries missing as well. In my case it bitched that it couldn't find libXtst so I just did a yum -y install libXtst.i586 on Fedora 11 and I was working; obviously wiht Ubuntu commands will be a little different, but I'm more or less confident similar steps will get you working...

rsync with delete option and different ssh port

How to rsync e.g PIPELINE dir from Source to Destination? #rsync -avzr   --delete-before  -e "ssh -p $portNumber"  /local...