I just went the hassle of connecting to a Juniper VPN on Ubuntu 11.10 with a 64 bit operating system. It turns out I was getting “Failed to load the ncui library.” because the 64 bit Java would not link with the 32 bit library. When I loaded the 32bit Java
sudo apt-get install ia32-sun-java6-bin
I also ran the update-alternatives on java
sudo update-alternatives --config java
Set the environment variable:
export JDK_HOME=/usr/lib/jvm/ia32-java-6-sun
I cleared my JAVA_HOME variable which was pointing to the 64 bit version, although it isn’t clear to me that mattered. Relavent links:
- http://www.rz.uni-karlsruhe.de/~iwr91/juniper/
- https://launchpad.net/~ferramroberto/+archive/java
Another couple of options I haven’t investiaged:
- http://code.google.com/p/juniper-sslvpn-nojava/updates/list
- http://mad-scientist.us/juniper.html
Advertisement