BankID and Java plug-in in Firefox on Ubuntu Part 6

BankID is unfortunately pretty poorly supported on the Linux platform, or there are at least several issues with it. I have sorted out some of them before, but it seems the latest version of Firefox created some new issues. My problem was that when trying to use BankID the browser crashed when logging in (after entering the code from the code key). The solution was as explained below:

1. Remove any traces of OpenJDK. See one of my earlier posts.

2. Install Sun’s Java version 6 (I have written about this before, and there are plenty of guides out there on how to do this).

This could be enough. However, I had problems getting the Java plugin started when opening BankID. To sort this out, create a symlink to the Java plugin in a mozilla plugin folder using the following code (thanks to WebUP8):
mkdir -p ~/.mozilla/plugins
ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/ ~/.mozilla/plugins/

Where the path (“/usr/lib/jvm/java-6-sun/jre/lib/amd64/”) depends on what JRE you have installed, and what CPU you have. I have an 64 bit AMD processor, and I have installed Sun’s JRE version 6.

The above is so far tested on only one computer. Please give feedback if you have tested it successfully yourself, or if you have further problems.

i f l
  • RSS
  • Facebook
  • Google+
  • LinkedIn
  • Twitter
  • IMDb
  • Slider