Java Environment setup issues JRE/JDK

  • Follow


I installed the jdk and jre here:

C:\Java\jdk1.6.0_24\bin
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

any ideas what is going on????

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.

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 think i have the jre installed twice, the one i 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!!!
0
Reply gregory.alexander.roberts (1) 2/22/2011 10:22:49 PM

On 2/22/2011 2:22 PM, grobs456 wrote:

> C:\Windows\syst
> em32>cd c:/dev/java


What the heck is that thing above?


> c:\dev\java>javac HelloWorldApp.java
> 'javac' is not recognized as an internal or external command,
> operable program or batch file.


Try to get it to work like this first, then we'll worry about the PATH 
variable.

C:\Users\Brenden>"c:\Program Files (x86)\Java\jdk1.6.0_24\bin"\javac
Usage: javac <options> <source files>
where possible options include:
   -g                         Generate all debugging info
   -g:none                    Generate no debugging info
....

0
Reply markspace 2/22/2011 11:31:17 PM


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.
0
Reply Lew 2/23/2011 12:56:47 AM

On 02/22/2011 05:22 PM, grobs456 wrote:
> I installed the jdk [sic] and jre [sic] here:

DO NOT MULTI-POST!

It *de*creases the likelihood of a good answer, because it pisses off those 
most able to help.

Follow the Usenet etiquette, please.

-- 
Lew
Honi soit qui mal y pense.
0
Reply Lew 2/23/2011 1:20:46 AM

I should have written that per my installation of the JDK, javac is
contained here:

C:\Java\jdk1.6.0_24\bin

Also,

C:\Windows\syst
> > em32>cd c:/dev/java

should read

C:\Windows\system32>cd c:/dev/java

Sorry. I shouldn't have even included that line in the original
posting and I should follow Usenet etiquette as mentioned.



0
Reply grobs456 2/23/2011 2:47:21 PM

That worked:

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>c:\Java\jdk1.6.0_24\bin\javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
....


NOTE: that was an unneeded line with an accidental break in the
original post. Sorry.
0
Reply grobs456 2/23/2011 2:49:50 PM

I went and checked my own path.  I think it needs to end with a 
backslash.  Your path to Java didn't.  (All the other paths in the PATH 
variable also end with a backslash, btw.)


Also try manually adding the path to the PATH variable right on the 
command line.  Use copy-and-paste to make sure you get the spelling 
right.  Once you are sure you've got the correctly spelled path on your 
clip board, set it permanently on the Windows control panel thingy for 
environment variables.

C:\Users\Brenden>where javac
INFO: Could not find files for the given pattern(s).

C:\Users\Brenden>set PATH=%PATH%;c:\Program Files 
(x86)\Java\jdk1.6.0_24\bin\

C:\Users\Brenden>where javac
c:\Program Files (x86)\Java\jdk1.6.0_24\bin\javac.exe


0
Reply markspace 2/23/2011 3:28:32 PM

grobs456 wrote:
> I should have written that per my installation of the JDK, javac is
> contained here:
>
> C:\Java\jdk1.6.0_24\bin
>
> Also,
>
> C:\Windows\syst
>>> em32>cd c:/dev/java
>
> should read
>
> C:\Windows\system32>cd c:/dev/java

OK, so you have two versions of Java,
one in "C:\Program Files (x86)\Java\jre6"
and one in "C:\Java\jdk1.6.0_24

You did mention,
> the original jre [sic] was here:
> C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip

which seems wrong.  We'll disregard that one.

The business about path elements ending with a backslash is a red herring.

You obviously have a path issue but the path you showed us seems correct at 
first glance.

Tell us what this does:

   cd c:/dev/java
   dir
   C:\Java\jdk1.6.0_24\javac HelloWorldApp.java

-- 
Lew
Honi soit qui mal y pense.
0
Reply Lew 2/23/2011 3:37:39 PM

Ooops!

> Tell us what this does:
>
> cd c:/dev/java
> dir
> C:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java

Forgot the "bin\"

-- 
Lew
Honi soit qui mal y pense.
0
Reply Lew 2/23/2011 3:39:20 PM

Here is where I stand:


C:\dev\java>javac HelloWorldApp.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java

C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp
Hello World!

C:\dev\java>


Environment Variables

*System variables:

VARIABLE	VALUE
CLASSPATH	.;
PERL_HOME	C:\Perl64
JAVA_HOME	C:\Java\jdk1.6.0_24
Path		C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:
\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;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;%JAVA_HOME%\bin;C:\Perl64\site
\bin;%PERL_HOME%\bin;C:\Java\jre6\bin


I uninstalled all traces of a previous install of the JRE associated
with QuickTime, that was in the more typical install directory, 'C:
\Program Files (x86)\Java'.

What is left of Java is what I installed yesterday:
C:\Java\jdk1.6.0_24
C:\Java\jre6

At least I can compile now. More advice would be great. Thanks for all
the help thus far.

0
Reply grobs456 2/23/2011 4:34:52 PM

On 23-02-11 17:34, grobs456 wrote:
> Here is where I stand:
> 
> 
> C:\dev\java>javac HelloWorldApp.java
> 'javac' is not recognized as an internal or external command,
> operable program or batch file.

JAVAC.exe is nog in your PATH


> 
> C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java

If you add "c:\Java\jdk1.6.0_24\bin\" to your path than you could do
C:\dev\java> javac HelloWorldApp.java


> 
> C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp

and
C:\dev\java> java HelloWorldApp

> Hello World!
> 

> Path		C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:
> \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;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;%JAVA_HOME%\bin;C:\Perl64\site
> \bin;%PERL_HOME%\bin;C:\Java\jre6\bin

wait, the runtime is already in your path (C:\Java\jre6\bin)

therefore this should work already
C:\dev\java> java HelloWorldApp

> At least I can compile now. More advice would be great. Thanks for all
> the help thus far.
> 

get a course in Windows ...... ;)


-- 
Luuk
0
Reply Luuk 2/23/2011 4:55:49 PM

On 02/23/2011 11:55 AM, Luuk wrote:
> On 23-02-11 17:34, grobs456 wrote:
>> Here is where I stand:
>>
>>
>> C:\dev\java>javac HelloWorldApp.java
>> 'javac' is not recognized as an internal or external command,
>> operable program or batch file.
>
> JAVAC.exe is nog in your PATH
>
>
>>
>> C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java
>
> If you add "c:\Java\jdk1.6.0_24\bin\" to your path than you could do
> C:\dev\java>  javac HelloWorldApp.java
>
>
>>
>> C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp
>
> and
> C:\dev\java>  java HelloWorldApp
>
>> Hello World!
>>
>
>> Path		C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:
>> \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;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;%JAVA_HOME%\bin;C:\Perl64\site
>> \bin;%PERL_HOME%\bin;C:\Java\jre6\bin
>
> wait, the runtime is already in your path (C:\Java\jre6\bin)
>
> therefore this should work already
> C:\dev\java>  java HelloWorldApp

Take the JRE out of your path and put the JDK into it.  The answer is obvious 
when you compare your PATH to what you're attempting.

-- 
Lew
Honi soit qui mal y pense.
0
Reply Lew 2/23/2011 5:26:24 PM

On Feb 23, 12:26=A0pm, Lew <no...@lewscanon.com> wrote:
> On 02/23/2011 11:55 AM, Luuk wrote:
>
>
>
> > On 23-02-11 17:34, grobs456 wrote:
> >> Here is where I stand:
>
> >> C:\dev\java>javac HelloWorldApp.java
> >> 'javac' is not recognized as an internal or external command,
> >> operable program or batch file.
>
> > JAVAC.exe is nog in your PATH
>
> >> C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java
>
> > If you add "c:\Java\jdk1.6.0_24\bin\" to your path than you could do
> > C:\dev\java> =A0javac HelloWorldApp.java
>
> >> C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp
>
> > and
> > C:\dev\java> =A0java HelloWorldApp
>
> >> Hello World!
>
> >> Path =A0 =A0 =A0 =A0 =A0 C:\Program Files\Common Files\Microsoft Share=
d\Windows Live;C:
> >> \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Rub=
y
> >> \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;%JAVA_HOME%\bin;C:\Perl64\sit=
e
> >> \bin;%PERL_HOME%\bin;C:\Java\jre6\bin
>
> > wait, the runtime is already in your path (C:\Java\jre6\bin)
>
> > therefore this should work already
> > C:\dev\java> =A0java HelloWorldApp
>
> Take the JRE out of your path and put the JDK into it. =A0The answer is o=
bvious
> when you compare your PATH to what you're attempting.
>
> --
> Lew
> Honi soit qui mal y pense.

Turns out I just needed to reboot. Everything from where I was last at
with regards to my environment/changes worked.


c:\dev\java>javac HelloWorldApp.java

c:\dev\java>java HelloWorldApp
Hello World!


Many Thanks!!!
0
Reply grobs456 2/23/2011 6:30:42 PM

On Feb 23, 12:26=A0pm, Lew <no...@lewscanon.com> wrote:
> On 02/23/2011 11:55 AM, Luuk wrote:
>
>
>
> > On 23-02-11 17:34, grobs456 wrote:
> >> Here is where I stand:
>
> >> C:\dev\java>javac HelloWorldApp.java
> >> 'javac' is not recognized as an internal or external command,
> >> operable program or batch file.
>
> > JAVAC.exe is nog in your PATH
>
> >> C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java
>
> > If you add "c:\Java\jdk1.6.0_24\bin\" to your path than you could do
> > C:\dev\java> =A0javac HelloWorldApp.java
>
> >> C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp
>
> > and
> > C:\dev\java> =A0java HelloWorldApp
>
> >> Hello World!
>
> >> Path =A0 =A0 =A0 =A0 =A0 C:\Program Files\Common Files\Microsoft Share=
d\Windows Live;C:
> >> \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Rub=
y
> >> \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;%JAVA_HOME%\bin;C:\Perl64\sit=
e
> >> \bin;%PERL_HOME%\bin;C:\Java\jre6\bin
>
> > wait, the runtime is already in your path (C:\Java\jre6\bin)
>
> > therefore this should work already
> > C:\dev\java> =A0java HelloWorldApp
>
> Take the JRE out of your path and put the JDK into it. =A0The answer is o=
bvious
> when you compare your PATH to what you're attempting.
>
> --
> Lew
> Honi soit qui mal y pense.

Everything worked, per my last message. I needed to restart.

c:\dev\java>javac HelloWorldApp.java

c:\dev\java>java HelloWorldApp
Hello World!

Many Thanks!
0
Reply grobs456 2/23/2011 6:31:58 PM

On 02/23/2011 10:31 AM, grobs456 wrote:
> On Feb 23, 12:26 pm, Lew<no...@lewscanon.com>  wrote:
>> On 02/23/2011 11:55 AM, Luuk wrote:
>>
>>
>>
>>> On 23-02-11 17:34, grobs456 wrote:
>>>> Here is where I stand:
>>
>>>> C:\dev\java>javac HelloWorldApp.java
>>>> 'javac' is not recognized as an internal or external command,
>>>> operable program or batch file.
>>
>>> JAVAC.exe is nog in your PATH
>>
>>>> C:\dev\java>c:\Java\jdk1.6.0_24\bin\javac HelloWorldApp.java
>>
>>> If you add "c:\Java\jdk1.6.0_24\bin\" to your path than you could do
>>> C:\dev\java>    javac HelloWorldApp.java
>>
>>>> C:\dev\java>c:\Java\jdk1.6.0_24\bin\java HelloWorldApp
>>
>>> and
>>> C:\dev\java>    java HelloWorldApp
>>
>>>> Hello World!
>>
>>>> Path           C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:
>>>> \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;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;%JAVA_HOME%\bin;C:\Perl64\site
>>>> \bin;%PERL_HOME%\bin;C:\Java\jre6\bin
>>
>>> wait, the runtime is already in your path (C:\Java\jre6\bin)
>>
>>> therefore this should work already
>>> C:\dev\java>    java HelloWorldApp
>>
>> Take the JRE out of your path and put the JDK into it.  The answer is obvious
>> when you compare your PATH to what you're attempting.
>>
>> --
>> Lew
>> Honi soit qui mal y pense.
>
> Everything worked, per my last message. I needed to restart.
>
> c:\dev\java>javac HelloWorldApp.java
>
> c:\dev\java>java HelloWorldApp
> Hello World!
>
> Many Thanks!

The DOS window needs to be opened after any changes to the environment 
for them to be in effect.

-- 

Knute Johnson
s/nospam/knute2011/
0
Reply Knute 2/24/2011 3:44:19 AM

On 2/23/2011 10:44 PM, Knute Johnson wrote:
> On 02/23/2011 10:31 AM, grobs456 wrote:
>> ...
>> Everything worked, per my last message. I needed to restart.
>> ...
> 
> The DOS window needs to be opened after any changes to the environment for them to be
> in effect.

This is always true, but with some versions of Windows, you also
need to reboot for environment variable changes to be seen.  Vista
I think.

-- 
Wayne
0
Reply Wayne 2/24/2011 6:00:10 AM

On 24-02-2011 01:00, Wayne wrote:
> On 2/23/2011 10:44 PM, Knute Johnson wrote:
>> On 02/23/2011 10:31 AM, grobs456 wrote:
>>> ...
>>> Everything worked, per my last message. I needed to restart.
>>> ...
>>
>> The DOS window needs to be opened after any changes to the environment for them to be
>> in effect.
>
> This is always true, but with some versions of Windows, you also
> need to reboot for environment variable changes to be seen.  Vista
> I think.

More like Windows 2000 and earlier.

Arne
0
Reply ISO 2/25/2011 2:32:14 AM

16 Replies
249 Views

(page loaded in 0.212 seconds)

Similiar Articles:


















7/24/2012 2:34:14 AM


Reply: