Runtime Members

Runtime Members

Class Overview | This Package | All Packages

Methods
Name Description
exec(String) Executes the specified string command in a separate process.
exec(String, String[]) Executes the specified string command in a separate process with the specified environment.
exec(String[]) Executes the specified command and arguments in a separate process.
exec(String[], String[]) Executes the specified command and arguments in a separate process with the specified environment.
exit(int) Terminates the currently running Java Virtual Machine.
freeMemory() Returns the amount of free memory in the system.
gc() Runs the garbage collector.
getLocalizedInputStream(InputStream) Creates a localized version of an input stream. Deprecated.
getLocalizedOutputStream(OutputStream) Creates a localized version of an output stream. Deprecated.
getRuntime() Returns the runtime object associated with the current Java application.
load(String) Loads the specified filename as a dynamic library.
loadLibrary(String) Loads the dynamic library with the specified library name.
runFinalization() Runs the finalization methods of any objects pending finalization.
runFinalizersOnExit(boolean) Enable or disable finalization on exit; doing so specifies that the finalizers of all objects that have finalizers that have not yet been automatically invoked are to be run before the Java runtime exits.
totalMemory() Returns the total amount of memory in the Java Virtual Machine.
traceInstructions(boolean) Enables/Disables tracing of instructions.
traceMethodCalls(boolean) Enables/Disables tracing of method calls.