Java-Get Runtime Environment

Get Runtime Environment The Runtime class encapsulates the run-time environment. We get a reference to the Runtime object by invoking the getRuntime( ) method, which is a static method in the Runtime class. The methods in this class control the state and behavior of the Java Virtual Machine. The exec( ) method is an important … Read more…