Pages

Wednesday, March 16, 2011

Running a Process from a Java Application

There may be times where we need to start a process from a java application; the process may be a batch file of a Linux shell script file. Java allows starting another process from java applications by using Process and ProcessBuilder classes.For every java application running inside a JVM, there will be a Runtime object available. The java application can get the Runtime object of the current environment. The java program...
Read More