There are other ways of connecting such as the Mad Scientist script but if you use things like two-factor authentication this will not work. So I brought together things I have learnt from web postings about getting it to work in Ubuntu and have created these steps. They work in Fedora 17 and should work in 16 too:
Step 1
We need to install OpenJDK Java, we also need xterm for the root password during installation:sudo yum install java-1.7.0-openjdk.i686 java-1.7.0-openjdk.x86_64 icedtea-web xterm
Step 2
Now we need to tell Java to execute the Juniper binaries in 32bit mode but everything else in 64bit mode, to do this we first rename the 64bit Java binary:cd /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/ mv java java.orig
Then create a replacement file called “java” with the following:
#!/bin/bash if [ $3x = "NCx" ] then /usr/lib/jvm/jre-1.7.0-openjdk/bin/java "$@" else /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java.orig "$@" fi
Finally make this executable:
sudo chmod +x java