Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7196

Re: Applet can't detect 64-bit JRE

From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Applet can't detect 64-bit JRE
Date 2011-08-17 21:05 -0700
Organization albasani.net
Message-ID <j2i3cc$jfq$1@news.albasani.net> (permalink)
References <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au>

Show all headers | View raw


On 8/17/2011 8:58 PM, Qu0ll wrote:
> I have been using a locally-deployed applet for some time with 32-bit
> Java 6 on the client and it has been working fine. Since upgrading the
> client to 64-bit Java 7 I find that the applet cannot detect that Java
> is installed and insists on downloading and installing a 32-bit JRE. I
> have since discovered that the same thing happens even I downgrade to
> 64-bit Java 6.
>

note:
what is needed is to have a JRE installed that is the same number of 
bits as the browser. a 64-bit JRE will not work with a 32-bit browser 
and vice-versa. this is generally a result of how most browsers handle 
plugins.

AFAICT, one can have both a 32-bit and 64-bit JRE installed at the same 
time on the same system and this seems to work (although I have not 
entirely investigated the details of this).


another option is to install a 64-bit browser, but at least in the past, 
this had problems with Flash player (lack of 64-bit Flash players, 
although last I remember there was a Beta-stage 64-bit version of Flash 
available, and it may be in release status now for all I know...).


> The applet is deployed using JNLP and I mean an applet that runs inside
> the browser, not a Java Web Start "application".
>
> The auto download of the JRE is being triggered because I include this
> script in the HTML:
>
> <script src="http://java.com/js/deployJava.js"></script>
>
> I run the applet using:
>
> deployJava.runApplet(attributes, parameters, '1.6');
>
> and I have tried using an argument of '1.7' as well to no avail.
>
> The JNLP contains the following <java> tag:
>
> <java version="1.6+" href="http://java.sun.com/products/autodl/j2se"
> max-heap-size="768m"/>
>
> and again I have tried specifying "1.7+" as well.
>
> So what's the trick to deploying applets using JNLP and 64-bit Java?
>
> And loving it,
>
> -Qu0ll (Rare, not extinct)
> _________________________________________________
> Qu0llSixFour@gmail.com
> [Replace the "SixFour" with numbers to email me]

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Applet can't detect 64-bit JRE "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-08-18 13:58 +1000
  Re: Applet can't detect 64-bit JRE BGB <cr88192@hotmail.com> - 2011-08-17 21:05 -0700
    Re: Applet can't detect 64-bit JRE "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-08-18 14:20 +1000
  Re: Applet can't detect 64-bit JRE Roedy Green <see_website@mindprod.com.invalid> - 2011-08-17 22:00 -0700
    Re: Applet can't detect 64-bit JRE "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-08-18 15:15 +1000
      Re: Applet can't detect 64-bit JRE "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-08-18 15:21 +1000
        Re: Applet can't detect 64-bit JRE Knute Johnson <september@knutejohnson.com> - 2011-08-17 23:18 -0700
          Re: Applet can't detect 64-bit JRE BGB <cr88192@hotmail.com> - 2011-08-18 03:20 -0700
        Re: Applet can't detect 64-bit JRE Lew <lewbloch@gmail.com> - 2011-08-17 23:18 -0700
          Re: Applet can't detect 64-bit JRE Roedy Green <see_website@mindprod.com.invalid> - 2011-09-01 01:23 -0700
            Re: Applet can't detect 64-bit JRE Arne Vajhøj <arne@vajhoej.dk> - 2011-09-01 22:26 -0400
        Re: Applet can't detect 64-bit JRE Roedy Green <see_website@mindprod.com.invalid> - 2011-09-01 01:22 -0700

csiph-web