How to install Juniper VPN on Ubuntu 14.04 LTS?

Could you please help me ?

On my old Ubuntu 13.10 I was able to run Juniper VPN (on Firefox only) using a workaround which requires you to install the missing 32libs and IcedTea (32bits).

However, I recently upgraded from Ubuntu 13.10 to 14.04 (both 64 bits) and my Juniper VPN does not work anymore because it fails during startup showing the following message:

"Please ensure that necessary 32 bit libraries are installed. For more details, refer KB article KB25230"

"Setup failed. Please install 32 bit Java and update alternatives links using update-alternatives command. For more details, refer KB article KB25230"

For some odd reason, it seems the 14.04 upgrade do not work anymore with the openjdk-7:386 and consequently the Juniper VPN as well.

Any ideas ? Thanks


You could try the suggestion in this post: Juniper setup on 12.04

Update for 14.04 Trusty Tahr (64-bit)

First run with Network Connect on 14.04 resulted a failure and Network Connect just complained about missing 32-bit libraries. My NC version is 7.4R6. I did have all the libraries installed and openjdk-7-jre:i386 installed.

Digging a little bit deeper revealed that Network Connect is using update-alternatives listing to decide if 32-bit jre is installed.

/usr/sbin/alternatives command not found
Command = /bin/sh -c /usr/sbin/update-alternatives --display java 2>&1 | grep -v "/bin/sh:" | grep ^/ | cut -d " " -f 1 | tr " " " "

However it's looking update-alternatives from /usr/sbin/ and there seems to be no symlink pointing to the right directory like 13.10 had. So adding symlink to /usr/sbin/ helped.

$ sudo ln -s /usr/bin/update-alternatives /usr/sbin/

Just for completeness, as well as having to install a 32-bit JRE, I also had to follow the info here: http://itfuzz.blogspot.de/2013/11/juniper-network-connect-and-ubuntu-1310.html and run this command on 14.04:

sudo apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 libxext6:i386 libxrender1:i386 libxtst6:i386 libxi6:i386

I must already have done this on 13.10 as it worked then, but on 14.04 the Network Connect window just closed. This fixed the problem.


I just set up a VPN connect to juniper using MadScientist's msjnc script that wraps around a binary (ncsvc) from the juniper linux client .jar

The ncsvc binary does not require java at all, so this is somewhat the neatest solution I could find.

The script can be found here: http://mad-scientist.us/juniper.html