Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail NNTP-Posting-Date: Wed, 17 Aug 2011 22:58:19 -0500 From: "Qu0ll" Newsgroups: comp.lang.java.programmer Subject: Applet can't detect 64-bit JRE Date: Thu, 18 Aug 2011 13:58:11 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Message-ID: <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au> Lines: 36 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 124.168.166.219 X-Trace: sv3-Eh7mH4LENhZPT5iVKKknHK78Of+bcujemFAnjTlLIOn7dGtz7spfk1kc1TJ8tZG0TQPRLbFNE/BVZz+!/S1g0Sa7jEnzZrFim3MMOTxrLoYknXaR8x39Dri+clGe9CXdtB3zhVXP6LaMPp/pxWDcrznDAHL7!fJRufpoYpt0TdTTSgxL7LTo= X-Complaints-To: abuse@westnet.com.au X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2452 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7195 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. 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: 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]