- Reference
- Version ยท 6.0.1
- Change Automation Reference
classpath
Last updated: November 23, 2026
classpath adds directories and JAR files, such as JDBC drivers and extensions, to the locations Liquibase loads classes from.
Uses
Separate entries with : on macOS and Linux and with ; on Windows. Every entry must exist, or Liquibase stops before running the command.
Liquibase always loads classes from the current directory and from its own lib and internal/lib directories. Entries in classpath are added to those, and include-system-classpath adds the Java system classpath too.
Liquibase reads classpath when it starts, before it runs any command, so it cannot be set in a flow file. In a defaults file, both classpath and liquibase.classpath work.
Example: classpath
liquibase --classpath=./lib/your_driver.jar update
Syntax
You can set this parameter in the following ways:
Option | Syntax |
Liquibase properties file (defaults file) |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS environment variable) |
|
Liquibase environment variable |
|