public class run
extends java.lang.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)
Modifier | Constructor and Description |
---|---|
private |
run()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Switch on the first argument to choose the tool, pass the remaining
arguments to the tool.
|
static void |
printUsage()
Print the usage statement if the user didn't enter a valid choice
of tool.
|
private static java.lang.String[] |
trimArgs(java.lang.String[] args)
Utility method to trim one element off of the argument array.
|
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
private static java.lang.String[] trimArgs(java.lang.String[] args)
args
- the arguments arraypublic static void printUsage()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.