Skip to content

Running AUSkey with OpenJDK

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.


Blue Mist smile's Fundraising Page

8 thoughts on “Running AUSkey with OpenJDK

  1. Ola

    Whoops, spoke too soon - Auskey website says "Code source security was null", the key won't download. Will keep trying...

  2. Rob

    Hi Ola,
    I'm trying to get Auskey working again after a recent upgrade to my Ubuntu 12.10 system. Have you been able to get your icedtea-7-plugin to work as is?

  3. Damon

    Hi all, I just tried the AUSKey portal and the new version of IcedTea works now, no patch required. I'm running:

    OpenJDK: 1.7.0_51
    IcedTea: 1.4-3ubuntu2.1

    on 64bit Ubuntu 13.10.

  4. Maxime

    Thank you, Damon,
    it looks like they have changed technology so no AUSKey software is required to install anymore on local machine.

Leave a Reply

Your email address will not be published.