devxlogo

Executing UNIX Shell Scripts From a Java Application

Executing UNIX Shell Scripts From a Java Application

To execute a UNIX shell script, first the shell needs to be executed. This can be done using an object of java runtime class.

 rtime = Runtime.getRuntime();Process child = rtime.exec(

devx-admin

Share the Post: