参见英文答案 > Juniper setup on 12.04 7个
我必须在64位Ubuntu 12.04上运行Juniper VPN.我已经安装了openjdk-7-jre,openjdk-7-jdk和icedtea-7-plugin.浏览器提示安装Juniper VPN后,我检查它是否已成功安装到“/home/huangyun/.juniper_networks/network_connect”.
我从命令行打开Firefox并检查日志:
Launching "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java" "-classpath" "/home/huangyun/.juniper_networks/network_connect/NC.jar" "NC" "-h" "extranet.scei.a-star.edu.sg" "-L" "0" "-l" "0" "-n" "" "-t" "" "-x"
我手动运行上面的命令:
$java -classpath ~/.juniper_networks/network_connect/NC.jar NC -h extranet.scei.a-star.edu.sg -L 0 -l 0 -n "" -t "" -x
Failed to load the ncui library.
Quitting.
我检查文件libncui.so,发现.so文件是32位版本:
$file libncui.so
libncui.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
我无法将32位.so文件重新编译为64位,所以我想我必须在64位Ubuntu 12.04上安装32位Java.你能告诉我怎么做吗?我搜索过网络但发现的信息很少.
解决方法:
由于OpenJDK中存在错误,Juniper过去常常需要Oracle Java.
参见:https://github.com/flexiondotorg/oab-java6
安装java.