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


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

Re: How to use 32 bits JRE on Windows 7 64 bits computer?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to use 32 bits JRE on Windows 7 64 bits computer?
Date 2012-06-07 18:31 -0700
Organization Canadian Mind Products
Message-ID <qel2t7laf2ecg00ev9b6ii02ekmg42e2oq@4ax.com> (permalink)
References <018d458b-c915-4b2d-8397-65b297e649a2@googlegroups.com>

Show all headers | View raw


On Thu, 7 Jun 2012 11:46:11 -0700 (PDT), zyng <xsli2@yahoo.com> wrote,
quoted or indirectly quoted someone who said :

>Both 32 bits and 64 bits JRE are installed on Windows 7 64 bits computer. Normally, 64 bits JRE is used. 
>
>Right now, for some reason, we hope that 32 bits JRE is used when running a commercial Java program.
> Is this only the matter of setting the environment variable JAVA_HOME? We have tried that and it didn't show the effect we expected.

Astoundingly, your browser selects the appropriate 32 or 64 bit JVM
automagically. You can verify this by running
http://mindprod.com/applet/wassup.html

Which is used for an app depends which is first on the path.  You can
also put it on the pseudo path in the registry for Windows.  
http://mindprod.com/jgloss/registry.html#AUXPATH

It is easiest to just specify fully if you flip often e.g.

E:\Program Files\Java\jdk1.7.0_04\bin\java.exe

or put it into a central global SET variable.
es.g.

set JAVA=E:\Program Files\Java\jdk1.7.0_04\bin\java.exe

%java% -ea someparm
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Controlling complexity is the essence of computer programming.
~ Brian W. Kernighan 1942-01-01
.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to use 32 bits JRE on Windows 7 64 bits computer? zyng <xsli2@yahoo.com> - 2012-06-07 11:46 -0700
  Re: How to use 32 bits JRE on Windows 7 64 bits computer? Robert Klemme <shortcutter@googlemail.com> - 2012-06-07 21:49 +0200
    Re: How to use 32 bits JRE on Windows 7 64 bits computer? zyng <xsli2@yahoo.com> - 2012-06-07 17:40 -0700
      Re: How to use 32 bits JRE on Windows 7 64 bits computer? Robert Klemme <shortcutter@googlemail.com> - 2012-06-08 04:04 -0700
  Re: How to use 32 bits JRE on Windows 7 64 bits computer? Roedy Green <see_website@mindprod.com.invalid> - 2012-06-07 18:31 -0700
  Re: How to use 32 bits JRE on Windows 7 64 bits computer? Roedy Green <see_website@mindprod.com.invalid> - 2012-06-07 18:31 -0700

csiph-web