Console

This tool starts the H2 Console (web-) server, as well as the TCP and PG server. For JDK 1.6, a system tray icon is created, for platforms that support it. Otherwise, a small window opens.

Methods
static void main(String[] args)
The command line interface for this tool.

static void main(String[] args)

The command line interface for this tool. The command line options are the same as in the Server tool, but this tool will always start the TCP, TCP and PG server. Options are case sensitive. The command line interface for this tool. The options must be split into strings like this: "-baseDir", "/temp/data",... By default, -tcp, -web, -browser and -pg are started. If there is a problem starting a service, the program terminates with an exit code of 1. Options are case sensitive. The following options are supported:
  • -help or -? (print the list of options)
  • -web (start the Web Server and H2 Console)
  • -tool (start the icon or window that allows to start a browser)
  • -browser (start a browser and open a page to connect to the Web Server)
  • -tcp (start the TCP Server)
  • -pg (start the PG Server)
For each Server, additional options are available. Those options are the same as in the Server tool.

Parameters:
args - the command line arguments