Applies to:
- Liquibase Secure (Pro)
- Liquibase Community (Open Source)
Question:
Can Liquibase use a specific version of Java?
Answer:
By default, Liquibase will use the Java version that is available on the computer or server on which Liquibase runs.
However, it is possible to have Liquibase use a specific version of Java by setting the JAVA_HOME environment variable to the Java version you want Liquibase to use.
For versions prior to v5.0, Java 8 is the minimum required version, although we recommend using LTS versions 11 or 17.
For versions after v5.0, Java 17 is the minimum required version. Our team regularly tests on Java 17 and 21, and the Liquibase installer ships with Java 21.
Comments
0 comments
Article is closed for comments.