• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running a java program from remote machine  RSS feed

 
Manoj Kumar Jain
Ranch Hand
Posts: 198
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Posts: 22828
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 198
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Paul.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!