A short instruction how to make AUSkey working under Ubuntu 12.04 with Firefox browser and OpenJDK:
- deinstall all icedtea-6-plugin and icedtea-7-plugin:
sudo apt-get remove icedtea-6-plugin icedtea-7-plugin
- install OpenJDK 1.7, pkg-config and firefox-dev packages:
sudo apt-get install openjdk-7-jdk pkg-config firefox-dev
- get sources for icedtea-web-1.2:
apt-get source icedtea-7-plugin
- put the patch into directory icedtea-web-1.2/netx/net/sourceforge/jnlp/runtime then apply it:
patch < JNLPClassLoader.java.patch
Please note: the patch JNLPClassLoader.java.patch is in zip archive, you need to unzip it beforehand.
- return to the directory icedte-web-1.2 and run
./configure --with-jdk-home=/usr/lib/jvm/java-7-openjdk-amd64
please mind to adjust directory above according to the architecture of your PC (it could be i386 or other). - then execute
make sudo make install
- put AUSkey resource jars into jre/lib/ext subdirectory of JDK (e.g. /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext in my case).
Please note: if you have these files already installed, you need to remove them if configure fails. - and make alternatives for firefox plugin and Web Start utils:
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/local/lib/IcedTeaPlugin.so 2012 update-alternatives --install /usr/bin/javaws javaws /usr/local/bin/javaws 2012 update-alternatives --install /usr/bin/itweb-settings itweb-settings /usr/local/bin/itweb-settings 2012
Now start the Firefox and it has to be working with AUSkey.
Final note: I've worked with signed jars received from AUSkey Help desk, if they haven't updated their Linux distribution yet, please ask these jars from AUSkey Help desk.
I'm not familiar with Java or its security, if this patch makes a breach in web-browser security, let me know.
The idea where to look for the problem and how to fix this issue came from this Thomas Meyer's post. Thank you, Thomas.