Bookmark Topic Watch Topic
  • New Topic

How to run an executable placed on linux sever on a host with java program  RSS feed

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi I have an executable placed on unix sever in /tmp folder how can I call that executable within my java program and pass the parameters to it.


 
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
exec method in java.lang.Runtime
 
kamabotti khan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Report post to moderator
and what is the way to code to login to server and run it
 
Sheriff
Posts: 22845
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
Well, you wouldn't use Java code to log in. You just sit down at the keyboard and type whatever it is you type to login. Then run your Java program.
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion.(⇐click)

Please continue the discussion in your original thread: http://www.coderanch.com/t/570497/java/java/excetue-binary-file-placed-onserver

 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!