Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: BGB 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: 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 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: > > > > 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 tag: > > 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]