You may be facing the same problem as i faced in connecting VPN through junipers network connect from Ubuntu platform.
There are two reasons behind this :
- Java run time is not installed on your computer or if installed then you must missing the Java plugin for Firefox.
- An error of password when it is installing the network Connect package in your system, the description is at the time of installation it asks for su/root password and when you type your password press enter , it says password not correct try again or some msg like this.
lets start step by step :
- The answer to first problem is very easy and common please make sure that you have installed java and java plugin for browser (Firefox). if you need any help in installing java or plugin then you can read this: Install java run time . In short run this command in terminal : sudo apt-get install sun-java6-jre sun-java6-plugin , after doing this restart your brwser now are ready to go. Wait one more thing may be you stuck on the agreement step of installation of Java, the problem is you are not able to accept it i mean you are not able to press Ok , the clever solution is press tab at this point to highlight Ok then press Enter button.
- Now the second problem is really more interesting , the guys who have developed this Juniper package assumed that there are only two types of super user su and root , these are common super user types for other linux providers but our Ubuntu uses sudo as super user then? Thats why it was not accepting your password at the time of installation because there is no su or root user available on your Ubuntu machine for that password. Now what we will do is create a user account on machine with the name root:
sudo passwd root
[sudo] password for irfan:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Now your machine is ready to install Juniper Network Connect package and you can connect to VPN .
Now you can provide this password you just set, when installing.
Remember this is one time process.
Thanks
-Irfan

