Re: How to run .exe in a remote machine,from my java code

Run how. Is it a graphical tool which you want to start up remotely FROM another machine? Should the application stay running when you start it remotely? Is it a command line utility which you want to run and get the output from?

Note that this is a highly operating system specific thing to do and Java does not do operating system specific things. Likely this is going to be a lot more work than calling some method on some class.

Re: How to run .exe in a remote machine,from my java code

Originally Posted by gimbal2

Run how. Is it a graphical tool which you want to start up remotely FROM another machine? Should the application stay running when you start it remotely? Is it a command line utility which you want to run and get the output from?

Note that this is a highly operating system specific thing to do and Java does not do operating system specific things. Likely this is going to be a lot more work than calling some method on some class.

Hi ,
In our case it is a command line utility.Could you please tell how will we do it?

Re: How to run .exe in a remote machine,from my java code

Re: How to run .exe in a remote machine,from my java code

The information you gave so far is far from complete.

In case you
- do not want to install anything on the target systems
- you have administrative rights on the target systems
you could start a tool like psexec locally to execute stuff on the target systems.

But please be aware that this is not a Java solution but a windows solution.