documentation/Reference/Configuration/Flyway Namespace/Flyway Jar Dirs Setting.md
Array of directories containing JDBC drivers and Java-based migrations. Relative paths will be resolved against your working directory.
Like with SQL migrations, we recommend storing Java-based migrations in a separate folder to your Flyway installation. This allows upgrading the commandline package by simply replacing the whole installation folder.
String array
<nobr><i><install-dir></i>/jars</nobr>
Note: We do not recommend relying on the default value. It may be changed in a future release.
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
./flyway -jarDirs="/my/jar/dir1,/my/jar/dir2" info
[flyway]
jarDirs = ["/my/jar/dir1", "/my/jar/dir2"]
flyway.jarDirs=my/jar/dir1,my/jar/dir2
FLYWAY_JAR_DIRS=/my/jar/dir1,my/jar/dir2
Not available
Not available
Not available