Class run

java.lang.Object
org.apache.derby.run.run

public class run extends Object

The run class facilitates running the various Derby utilities with the java -jar command. For example:

java -jar derbyrun.jar ij [-p propertiesfile] [sql script]
java -jar derbyrun.jar sysinfo [-cp ...] [-cp help]
java -jar derbyrun.jar dblook [args] (or no arguments for usage)
java -jar derbyrun.jar server [args] (or no arguments for usage)
java -jar derbyrun.jar SignatureChecker [args] (or no arguments for usage)

  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Switch on the first argument to choose the tool, pass the remaining arguments to the tool.
    static void
    Print the usage statement if the user didn't enter a valid choice of tool.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Switch on the first argument to choose the tool, pass the remaining arguments to the tool.
      Throws:
      IOException
    • printUsage

      public static void printUsage()
      Print the usage statement if the user didn't enter a valid choice of tool.