Pham Quỳnh Anh
New member
How do I run a Java command?
Answer
Executing a system command is relatively simple – once you’ve seen it done the first time. It involves the use of two Java classes, the Runtime class and the Process class. Basically, you use
the exec method of the Runtime class to run the command as a separate process.
Answer
Executing a system command is relatively simple – once you’ve seen it done the first time. It involves the use of two Java classes, the Runtime class and the Process class. Basically, you use
the exec method of the Runtime class to run the command as a separate process.