I have a client who has installed J2SE 1.5.06 on their Windows XP Server. If
they go to Control Panel, it shows under Add/Remove Programs.
However, when I go to invoke java, it fails with "java.exe is not a
recognized internal or external command..."
I am beside myself -- I've never seen this happen and am wondering what in
the world is wrong here -- what stupid thing have I perhaps overlooked that
java, installed on a machine, fails to be seen? Thanks, Ike
> However, when I go to invoke java, it fails with "java.exe is not a
> recognized internal or external command..."
>
> I am beside myself -- I've never seen this happen and am wondering what in
> the world is wrong here -- what stupid thing have I perhaps overlooked that
> java, installed on a machine, fails to be seen? Thanks, Ike
Perhaps you should check the machine's PATH environment variable. Does
it contain the WINDOWS subdir? Or the path of the Java platform
environment?
==
John O'Conner
Robert Iver - 12 Jun 2006 20:59 GMT
> > However, when I go to invoke java, it fails with "java.exe is not a
> > recognized internal or external command..."
[quoted text clipped - 9 lines]
> ==
> John O'Conner
Yes, I agree with John, check the PATH environment variable and also
make sure that the actual Java files are there and that your client
didn't simply delete the directory under Program Files instead of
uninstall the JRE.
Knute Johnson - 12 Jun 2006 23:38 GMT
>>> However, when I go to invoke java, it fails with "java.exe is not a
>>> recognized internal or external command..."
[quoted text clipped - 14 lines]
> didn't simply delete the directory under Program Files instead of
> uninstall the JRE.
And if it isn't obviously the PATH I would just remove and reload it.

Signature
Knute Johnson
email s/nospam/knute/