setting the path variable

I set the path to java so I can type java or javac without any problems. I set the path for XP just like this;

Choose Start, Settings, Control Panel, and double-click System. On Microsoft Windows NT, select the Environment tab; on Microsoft Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is:

C:\Program Files\Java\jdk1.5.0_<version>\bin

but it does not work. It does work if I set the path each time I restart my computer, path c:\windows;c:\windows\command;"c:\Sun\AppServer\jdk\bin"

jon

toronto

[751 byte] By [datakrooa] at [2007-10-2 11:22:22]
# 1

Please copy and paste the value of the PATH variable here.

The following line is confusing;

but it does not work. It does work if I set the path each time I restart my computer, path c:\windows;c:\windows\command;"c:\Sun\AppServer\jdk\bin"

What is "it"?

Explain why you have to set the path each time you restart, and how you're doing that.

ChuckBinga at 2007-7-13 4:23:52 > top of Java-index,Developer Tools,Java Compiler...
# 2

Alright. When I use dos prompt I type in;

path c:\windows;c:\windows\command;"c:\Sun\AppServer\jdk\bin" and my java compiler works. But I need a permanent command to change my path settings.

If you just type in path c:\windows;c:\windows\command;"c:\Sun\AppServer\jdk\bin"

is is just a temporary setting. It does work but I want to change my path permanently.

jon

toronto

datakrooa at 2007-7-13 4:23:52 > top of Java-index,Developer Tools,Java Compiler...
# 3
You can get to the Windows Environmental Variables from My Computer -> Properties or from Control Panel -> System and clicking on the Advanced tab. Once you get the Environmental Variables dialog, edit the System Path by adding the path to the jdk\bin.
atmguya at 2007-7-13 4:23:52 > top of Java-index,Developer Tools,Java Compiler...