Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Runtime

Availability: JDK 1.0

public class Runtime extends Object {
   // No Constructor
   // Class Methods
      public static Runtime getRuntime();
1.1  public static void runFinalizersOnExit(boolean value);
   // Public Instance Methods
      public Process exec(String command) throws IOException;
      public Process exec(String command, String[] envp) throws IOException;
      public Process exec(String[] cmdarray) throws IOException;
      public Process exec(String[] cmdarray, String[] envp) throws IOException;
      public void exit(int status);
      public native long freeMemory();
      public native void gc();
#    public InputStream getLocalizedInputStream(InputStream in);
#    public OutputStream getLocalizedOutputStream(OutputStream out);
      public synchronized void load(String filename);
      public synchronized void loadLibrary(String libname);
      public native void runFinalization();
      public native long totalMemory();
      public native void traceInstructions(boolean on);
      public native void traceMethodCalls(boolean on);
}
Returned By:
Runtime.getRuntime().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.