Re: Java Environment setup issues JRE/JDK
grobs456 wrote:
I installed the jdk [sic] and jre [sic] here:
C:\Java\jdk1.6.0_24\bin
You should have installed the JDK to "C:\Java\jdk1.6.0_24".
and
C:\Java\jre6
currently my environment variables are as follows:
System Variables,
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:
\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:
\Perl64\site\bin;C:\Perl64\bin;C:\Ruby\bin;%SystemRoot%
\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files
(x86)\MySQL\MySQL Server 5.0\bin;%SYSTEMROOT%
\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files
\Teleca Shared;C:\PROGRA~2\IBM\CLIENT~1\Shared;C:\Program Files
(x86)\Common Files\Adobe\AGL;C:\PROGRA~2\IBM\CLIENT~1;C:\PROGRA~2\IBM
\CLIENT~1\Emulator;C:\Program Files (x86)\QuickTime\QTSystem\;C:
\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:
\Program Files (x86)\Windows Live\Shared;C:\Java\jdk1.6.0_24\bin
and
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
Why does this show Java being in "Program Files (x86)"? That's not where you
said you put Java.
any ideas what is going on????
How many question marks does it take to indicate an interrogative?
I get the following when I run these two commands:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\syst
em32>cd c:/dev/java
c:\dev\java>javac HelloWorldApp.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
Perhaps the PATH should include "C:\Program Files (x86)"\Java\jdk1.6.0_24\bin?
c:\dev\java>java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
also
i [sic] think i [sic] have the jre [sic] installed twice, the one i [sic] installed today is:
C:\Java\jre6
the original jre was here: C:\Program Files (x86)\Java\jre6\lib\ext
\QTJava.zip
not sure if that is an issue. I am all ears though... Thanks in
advance!!!
It clearly is an issue since you're having trouble. It's not a bad idea to
install your public JRE into the same Windows directory each time.
I am suspicious because of your statement that you installed the JDK to the
"bin/" subdirectory of where you should have put it. If that isn't the issue,
then your suspicion that the two installations conflict might be involved.
It is possible to have multiple versions of Java on one machine, but you have
to do it properly.
--
Lew
Honi soit qui mal y pense.