On Mon, Jun 29, 2009 at 1:45 PM, Alan McKinnon<[email protected]> wrote: > On Monday 29 June 2009 20:31:07 Paul Hartman wrote: >> On Mon, Jun 29, 2009 at 11:37 AM, Alan McKinnon<[email protected]> > wrote: >> > Hi all, >> > >> > The company has a Juniper Secure Connect VPN and I run amd64. The process >> > is: log in via a web page in a browser, click a button and the page >> > starts a java APP to create the ssl tunnel - a full blown Swing app, not >> > a mere applet. >> > >> > I've only ever got this Java app to run in 32 bit Firefox with the >> > java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've >> > tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea. >> > >> > The only thing that works is firefox-bin with a 32bit jvm. The app >> > doesn't do much in the way of logging so I don't know why it's failing. >> > This strikes me as odd: >> > >> > A java app is bytecode that is independent of platform. It should make no >> > difference whether a 32bit or 64bit jvm executes the bytecode as the >> > format of the Java Virtual Machine and it's bytecode is constant. >> > >> > Surely? >> >> According to my Google search results, a 64-bit Sun Java plug-in has >> been provided starting with Java SE 6 Update 12 Build 02. You should >> be able to select your preferred plug-in and virtual machine using >> eselect (I don't think I have tried it... I can't remember the last >> time I encountered a Java applet on the web) > > I said in my original post that I had tried a 64 bit jre without success. It's > also NOT an applet - it continues to run as it's own full-blown process even > after the browser exits. > > And the correct commands to configure system and user vm's were executed each > time.
Okay, I misunderstood. It looks like it may be a Juniper-related problem and not a Java problem. I have used Java Web Start apps using 64-bit java on my system and it works fine, but googling juniper vpn shows several people on various distros having problems similar to yours. This page appears to have some info about what you need to do in order to get it going: http://mad-scientist.us/juniper.html (from an Ubuntu perspective) There are some sample JWS apps on http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html if you want to make sure your Java Web Start is working. Since 64-bit Java from Sun is so new, I didn't really see many references to the Juniper VPN from a 64-bit standpoint (just people trying to get it working with 32-bit JWS in a 64-bit browser etc). One person said they installed the 32-bit JVM to use with the VPN and used 64-bit with everything else. You may need to be the trailblazer. :)

