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


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

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-18 03:20 -0700
Organization albasani.net
Message-ID <j2ipb0$v7l$1@news.albasani.net> (permalink)
References <7NOdnY4GqoJGENHTnZ2dnUVZ_judnZ2d@westnet.com.au> <q17p47tpre6ag2oag4e14ftsuf4sf6p5da@4ax.com> <OcKdnVuDiYmhPdHTnZ2dnUVZ_smdnZ2d@westnet.com.au> <qKSdnS1PaKwsPNHTnZ2dnUVZ_gudnZ2d@westnet.com.au> <j2iar0$232$1@dont-email.me>

Show all headers | View raw


On 8/17/2011 11:18 PM, Knute Johnson wrote:
> On 8/17/2011 10:21 PM, Qu0ll wrote:
>> I stand corrected - it appears that only Java Web Start *applications*
>> work with this combination, all other true applets result in an attempt
>> to download and install a 32-bit JRE or complain of missing plug-ins.
>>
>> Why should there be any difference???
>
> I think it is because the Applet runs in the browser plugin and JWS runs
> the installed JVM.
>

yeah. for applets and plugins, they generally run in the same process 
as, or a process managed by, the browser.

since, canonically, one can't have mixed 32/64 bit processes, then any 
plugins need to match the number of bits. (theoretically at least, one 
could hack around the WoW64 mechanism on Windows to allow mixed-mode 
processes, using some amount of ASM code and similar, but this is likely 
to get very nasty very quickly).

this actually applies to pretty much any library or DLL, as well as some 
uses of COM objects, ... the result is some amount of redundancy with 
both 32 and 64 bit versions of many libraries being kept around by the 
OS, ...


this doesn't apply to an externally run JVM, since then the JVM has its 
own process and can use whatever number of bits it wants.

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