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.



Popularity: 2%

6 Responses to “Running AUSkey with OpenJDK”

  1. Maxime Says:

    There is a Google group about AUSkey: https://groups.google.com/forum/?fromgroups=#!forum/auskey

  2. Onno Says:

    I’m the “owner” of that group and there is a website to go with it at http://auskey.itmaze.com.au/

    I’ve had a brief read of your instructions and am concerned about the source of the patch. Have you got any references, etc. for that?

    O

  3. Maxime Says:

    I’ve filed it in IcedTea bugzilla: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1205
    It’s got a developer assigned to it but no comment made so far.

  4. Ola Says:

    Current version of icedtea-7-plugin seems to work as is.

  5. Ola Says:

    Whoops, spoke too soon – Auskey website says “Code source security was null”, the key won’t download. Will keep trying…

  6. Rob Says:

    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?

Leave a Reply