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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Applet can't detect 64-bit JRE
Date Wed, 17 Aug 2011 21:05:56 -0700
Organization albasani.net
Lines 56
Message-ID <j2i3cc$jfq$1@news.albasani.net> (permalink)
References <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net ZliIlvugRnuDLAjudnv3fw6SgKLmFr6awMCLyjs49R5NV895owFiCnHJOloRUckG7li94CxEcKuu5hF5UrPuoEQb6Nw76ln3vThFvKNeVJgKmRO2w4tRTZHOsbOmtaHQ
NNTP-Posting-Date Thu, 18 Aug 2011 04:10:52 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="xvOYBgVE2rBTOgp8rvS+zbRf0OnxGVwpSq0oibHRS1+1RMUbotcOaXG4iCIb1B1ZP6vEd9q32teV10hY9MnHOmY8t6Zs3uUNTgpe1/odGAPDgZIA2HYjY37Zj3AqGOoG"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
In-Reply-To <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au>
Cancel-Lock sha1:ulS++VoX9+7CiACENe+rRqs2DtA=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7196

Show key headers only | 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