Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Java apps in 64 bit JVM?
Date: Mon, 29 Jun 2009 17:12:26
Message-Id: 200906291910.44805.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Java apps in 64 bit JVM? by Mark Knecht
1 On Monday 29 June 2009 18:54:13 Mark Knecht wrote:
2 > On Mon, Jun 29, 2009 at 9:37 AM, Alan McKinnon<alan.mckinnon@×××××.com>
3 wrote:
4 > > Hi all,
5 > >
6 > > The company has a Juniper Secure Connect VPN and I run amd64. The process
7 > > is: log in via a web page in a browser, click a button and the page
8 > > starts a java APP to create the ssl tunnel - a full blown Swing app, not
9 > > a mere applet.
10 > >
11 > > I've only ever got this Java app to run in 32 bit Firefox with the
12 > > java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
13 > > tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
14 > >
15 > > The only thing that works is firefox-bin with a 32bit jvm. The app
16 > > doesn't do much in the way of logging so I don't know why it's failing.
17 > > This strikes me as odd:
18 > >
19 > > A java app is bytecode that is independent of platform. It should make no
20 > > difference whether a 32bit or 64bit jvm executes the bytecode as the
21 > > format of the Java Virtual Machine and it's bytecode is constant.
22 > >
23 > > Surely?
24 >
25 > Alan,
26 > I can only echo your frustrations. I don't have a 64-bit Windows
27 > installation to test but I've run into numerous web sites that make
28 > use of Java and never found an installation for my 64-bit Gentoo that
29 > works as well as my wife's 32-bit Gentoo. Maybe things work perfectly
30 > fine on both machines but numerous ones fail on mine and when tested
31 > on my wife's seem to work fine. Things like buttons, selection check
32 > marks, stock charts and other things that specific sites were doing in
33 > Java tended to be where I had trouble.
34 >
35 > Along these lines was part of the reason I posed a question some
36 > weeks ago on the Gentoo-64-bit list about the possibility of using a
37 > 64-bit kernel but building all apps as 32-bit. (Not my idea - picked
38 > it up on LKML.)
39 >
40 > Good luck and keep us posted. I hope you make progress.
41
42 I'm thinking it must be something in Juniper's ncsvc app - judging by the
43 quality of their install and launch scripts, I'd rate their programmer's skill
44 on par with chimpanzee's for the most part. I'd understand a traditional
45 applet - it runs in the browser's process space and all sorts of things could
46 conflict. But this is just a regular app (I can kill Firefox as soon as the
47 VPN is up and ncsvn continues as normal).
48
49 I'm now going to search for options to make this thing log more and better.
50 Let's see what happens.
51
52
53 --
54 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Java apps in 64 bit JVM? Peter Humphrey <peter@××××××××××××××.org>