Re: how does windows find java.exe?



Martin wrote:
How does windows find java.exe if I type "java" in the command line
and if java.exe is not in the path?
I bet java.exe *is* in your path.
On my system Java-setup has installed a copy of java.exe in directory "C:\windows\system32\", and "C:\windows\system32\" is part of the PATH environment variable.

I know that there is a registry key HKEY_LOCAL_MACHINE\SOFTWARE
\JavaSoft\Java Runtime Environment but I guess windows does not know
about it.

--
Thomas
.