PSEXEC - PATH VARIABLE NOT FOUND

Posted by Magesh on Server Fault See other posts from Server Fault or by Magesh
Published on 2010-05-17T14:47:34Z Indexed on 2010/05/17 14:51 UTC
Read the original article Hit count: 591

Filed under:

Hi,

I use the PSEXEC to start the java process in local machine. When I run the PSEXEC without any user account it works fine.

c:/>psexec java testclass

But when I run with an user account

c:>psexec -u user -p password java test

It gives me the below error

PsExec could not start java: The system cannot find the file specified

I checked the environemt variable for the the above user and the PATH variable has been properly mapped to the java path. Could any one help me to resolve this issue.

© Server Fault or respective owner

Related posts about psexec