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


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

Applet can't detect 64-bit JRE

From "Qu0ll" <Qu0llSixFour@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Applet can't detect 64-bit JRE
Date 2011-08-18 13:58 +1000
Message-ID <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


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:

<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 | NextNext 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