Re: HOWTO set up Juniper Network Connect VPN on Ubuntu Dapper
Hi all; I'm surprised that you were seeing an issue with 32bit/64bit with my script (or were you not using my script)?
A while ago I added code to my script to detect this problem and suggest the solution; if you try to invoke the script and it can only find a 64bit java it will give you an error message:
Code:
The Network Connect GUI needs a 32-bit Java
Ignoring 64-bit Java from $PATH (/usr/bin/java)
Then it will give you a file chooser dialog asking you to find a 32bit java. If you quit or cancel it will say:
Code:
Cannot locate valid 32-bit Java.
Please install it with your package manager
or run junipernc with the '-nojava' flag.
So, at least for junipernc, you don't need to replace the java application. Once the script finds a 32bit java it will remember where it is and always use it when invoking Network Connect.
The problem with replacing the java binary with a script like this is that when your package updates it will overwrite that binary and you'll have to do it again. Personally I don't like that solution.
Also I just put up a new version of the script that allows a special URL for connections, for those that need it.
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
Bookmarks