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:
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:
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 your machine. Figuring out which one is running for what can be a bit tricky. It would be ideal for Ubuntu to allow either environ to begin with, but I understand why they can't do that.
- Requires the Sun JRE/JDK, not the OpenJRE/OpenJDK installed by default.
- Requires the 32bit JRE, not the 64bit JRE
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-sunTest 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 your machine. Figuring out which one is running for what can be a bit tricky. It would be ideal for Ubuntu to allow either environ to begin with, but I understand why they can't do that.
hey..i did all changes, but still i am not able to connect vpn connection.
ReplyDeleteI have ubuntu10.04 64 bit.I installed sun jdk and i did setup 32bit JER also.
When o .i start the connection. its process but after processing ,connection window does close.it appear for time being.
I have java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
Is there any solution?
Regrads
Pooja Gupta