Skip to main content

Posts

Showing posts with the label Java

Connecting to Juniper VPN with Ubuntu 10.04 64bit

Ran into my first snag. Apparently the Juniper Network Connect client for Linux doesn't like 2 things about the defaults installed on Ubuntu 10.04 64bit: Requires the Sun JRE/JDK, not the OpenJRE/OpenJDK installed by default. Requires the 32bit JRE, not the 64bit JRE Obviously frustrating. I found the following resources to overcome this problem: Switching from OpenJRE/JDK to Sun's version (without uninstalling, due to dependency issues). Setup the 32bit JRE to run alongside the 64bit , and Download and modify the junipernc script by pointing it to the 32bit version. To do this, add this line after the # lines at the beginning: export JDK_HOME=/usr/lib/jvm/ia32-java-6-sun Test your setup here when you're done. To reconnect after disconnecting, you might need to relogin to the vpn website and then run the connection script again. The session doesn't always exit nicely. The big downside to all this is that you'll now have 3 different Java environments installed on...