| Author |
Running a java program from remote machine
|
Manoj Kumar Jain
Ranch Hand
Joined: Aug 22, 2008
Posts: 191
|
|
Hi All,
I am running an application on my local machine using batch file but I am running it from some remote machine on LAN. The way I am running it like
here I am invoking the java.exe from remote machine and class with main method is also only available on the remote machine.
My question is that by running this batch file will all processing (e.g., memory consumption)will occur on my local machine or on the remote machine.
when I ran this batch file on my local I looked at the task manager on my local and found that as soon as I start this batch file a javaw.exe(not sure if this was the exact name) process get started and consumes a good amount of memory say 60 MB. Still I am not sure if processing is also happening at remote machine.
I have one more question if I write code to open command prompt in this application
and invoke the application by same batch file the DOS window will appear at remote machine or on my local machine.
thanks a lot
|
Do not wait to strike till the iron is hot; but make it hot by striking....
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
You're running the executable on your machine, not on the machine where it was stored.
The answers to all your questions follow from that one observation.
|
 |
Manoj Kumar Jain
Ranch Hand
Joined: Aug 22, 2008
Posts: 191
|
|
|
Thanks a lot Paul.
|
 |
 |
|
|
subject: Running a java program from remote machine
|
|
|