Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: zyng Newsgroups: comp.lang.java.programmer Subject: Re: How to use 32 bits JRE on Windows 7 64 bits computer? Date: Thu, 7 Jun 2012 17:40:39 -0700 (PDT) Organization: http://groups.google.com Lines: 23 Message-ID: References: <018d458b-c915-4b2d-8397-65b297e649a2@googlegroups.com> NNTP-Posting-Host: 72.192.242.74 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1339116040 31548 127.0.0.1 (8 Jun 2012 00:40:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 8 Jun 2012 00:40:40 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.192.242.74; posting-account=oo44OQoAAABMDvaRlaO3SeQ5MVbxqLdH User-Agent: G2/1.0 X-Received-Bytes: 1798 Xref: csiph.com comp.lang.java.programmer:15094 Thank you for your reply. The issue has been solved. Just another question, on Microsoft Windows computer, I have installed JDK and have set the environment variable JAVA_HOME: (in Cygwin) $ echo $JAVA_HOME C:\Program Files\Java\jdk1.6.0_32 However, it seems "java" command is not from the JDK I installed, it is from c/Windows/system32/java. Why is that? $ java -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b05) Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing) $ which java /cygdrive/c/Windows/system32/java So, on my computer, I have two "java" commands. Is this one(c/Windows/system32/java) a gift from Microsoft? I am puzzled. Thank you very much.