| Author |
default calling the java file in windows and linux
|
Vijay kumar p
Greenhorn
Joined: Jun 08, 2007
Posts: 6
|
|
|
In my application i have the option of scheduling the time for particular code to run. In this case i am checking the time of schedule with system time. I want to call the java file. how can i do this in windows and linux OS.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
|
|
Use Runtime.getRuntime() to create a new Process. OR: The ProcessBuilder class in JDK5.0 makes the whole process easier.
|
 |
 |
|
|
subject: default calling the java file in windows and linux
|
|
|