Your Ubuntu or Linux doesn’t work with website uk.advfn.com and with Firefox. The ADVFN website says that they don’t support Linux. For this type of problem Ubuntu support doesn’t give more answers either. The Online Tech Support have still work around to have Ubuntu access ADVFN .
We are guessing you already tried to log on Advfn.com web and everything seems to be working fine beside the Java applet. The problem is in Java’s Ubuntu (Linux) version that is available by default in your Linux downloads. The following guide should get the Advfn access with Ubuntu to work.
The first thing to do is to download a working version of Java package. Go to www.java.com and click on the “Downloads” link. For Linux system the web page should offer Linux downloads. Click on the link where is written only “Linux” and the file should look like something as jre-<version>-linux-i586.tar.gz where the <version> string would be the latest one available.
Move the Java package somewhere among of the other Java versions. You may need to used user root permissions to do it. The folder could be something as the Online Tech Support is using in this guide for example /usr/lib/java and the command
# sudo mv jre-7u21-linux-i586.tar.gz /usr/lib/java
Make sure the file has executable rights.
# sudo chmod a+x jre-7u21-linux-i586.tar.gz
To unpack the file use the following command.
# sudo tar zxvf jre-7u21-linux-i586.tar.gz
Since we are using Firefox in the example then the next things would be to link the Firefox library to the new Java version file that you just downloaded. To do it you need to create a new symbolic link under Firefox plug-ins and to point to libnpjp2.so file.
Go to your Firefox plugins folder it should be something like /usr/lib/firefox/plugins
# cd /usr/lib/firefox/plugins
Create a link to file libnpjp2.so.
# ln -s /usr/lib/java/jre1.7.0_21/lib/i386/libnpjp2.so
After having plugin libnpjp2.so in the Firefox directory and pointing to the new jre version it should make the Advfn Java applet to work.
If the last point didn’t make the Java to work then take a look at the the Java plugin under Tools -> Add-ons -> Plugins and make sure it is Enabled. If the Java Plugin 1.7.x_xx didn’t appear there then add a link into Mozilla (/usr/lib/mozilla/plugins) folder too as the following command.
# cd /usr/lib/mozilla/plugins
Create a new link as the following example.
# sudo ln -s /usr/lib/java/jre1.7.0_21/lib/i386/libnpjp2.so
Some Firefox versions are set to look for plugins from mozilla folder. Make sure you have only one Java plugin active or the Java wouldn’t work correctly.
Now has left only to try it out!
Sometimes the web browser will raise error: java.lang.SecurityException: Changing the SecurityManager is not allowed. The reason is that in your computer has more than one Java tool installed and the another tool is set as the default one. Firefox is opening the Java applet with link you just defined and the second default Java tool will take the Java session over because it is the main or the default one.
Online tech support has seen this type of computer problems mainly with the IceTea Web Plugin. To resolve the java.lang.SecurityException: Changing the SecurityManager is not allowed go to Firefox menu -> Tools -> Add-Ons and press “Disable” button after the “IceTea Web Plugin“. After you have disabled the IceTea Web Plugin close your all FireFox browsers and open them again and try the Advfn.com web page one more time.