Could anyone provide a step by step for getting juniper netconnect and citrix? [duplicate]

It's really dizzying. I seem to have java installed (using the script from https://github.com/flexiondotorg/oab-java6 ) however when I connect I see the java "Launching netconnect, this may take several minutes." This finishes but netconnect doesn't actually seem to be running.

I've managed to get this working with previous versions of Ubuntu, so I think I know what should happen.


Solution 1:

I can't answer your question for Citrix, but I can answer it for Juniper VPN from a fresh installation of Ubuntu 12.04. Two solutions depending on whether you have a 32 or 64 bit installation, tested using Live CDs:

amd64

sudo apt-get remove firefox openjdk-6-jdk icedtea-6-plugin
sudo apt-get install firefox:i386 openjdk-6-jdk:i386 icedtea-6-plugin:i386

Run Firefox, and log into your VPN.

i386

sudo apt-get install openjdk-6-jdk icedtea-6-plugin

Run Firefox, and log into your VPN.

Complications

If you have other versions of Java or the IcedTea plugin installed, you are probably going to have problems. The two key points to note here are:

  1. Juniper VPN won't work with 64 bit Java, so whatever JDK you are working with, you need to make sure Firefox is using a 32 bit install of Java.
  2. Juniper VPN will work with OpenJDK, but see point 1.

You can switch between installed versions of Java using the update-java-alternatives program.

If someone would like to update this answer to explain how to run 32 bit Java install for Firefox plugins, but use a different install for everything else, please do!