Run jar file in remote computer -


i need run jar file in machine in lan.

java -jar start.jar 

how run jar file on remote computer?

thx!

i faced same issue in project while accessing resources in distributed systems environment. if working on windows, need psexec v2.x.

create batch file execute java -jar start.jar remote cmd.

now run batch file ur local machine psexec \\othermachine z:\program.exe. need administrator privileges on target machine.

visit documentation.

lastly, if demand platform independency , wish run jar on remote machine having os other os on local machine, should go socket programming.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -