GUI Command Line Arguments
As an alternative to start DbVisualizer via the menu items and icons created by the installer, you can also start DbVisualizer from a shell (terminal) on all operating systems using the following scripts:
# DbVisualizer GUI on Windows:
DBVIS-HOME\dbvisgui.bat
# DbVisualizer GUI on Linux/UNIX:
DBVIS-HOME/dbvisgui.sh
# DbVisualizer GUI on macOS:
DbVisualizer.app/Contents/java/app/dbvisgui.sh
The scripts supports a number of command line arguments. These are also listed in the Help->About menu choice, under the Command Line tab, in DbVisualizer.
Usage: dbvisgui [-connection <name>] [-userid <userid>] [-password <password>]
[-encoding <encoding>]
[-prefsdir <directory>]
[-windowtitle <title>]
[-help] [-version]
[<filename>]
General Options:
-connection <name> Database connection name (created with the GUI)
-userid <userid> Userid to connect as
-password <password> Password for userid
-encoding <encoding> Encoding for the SQL script file
-prefsdir <directory> Use an alternate user preferences directory
-windowtitle <title> Additional window title
-help Display this help
-version Show version info
<filename> SQL script file to load into editor
Please note that these scripts use the first Java version that is found in the PATH. The result may be that a non supported Java version is used.