Applies to:
- Liquibase Pro
- Liquibase Open Source (Community)
Conditions:
- Any version of Liquibase Pro or Open Source
- Any OS
Issue Summary:
When attempting to run any Liquibase command or call the Liquibase executable (either liquibase.jar or liquibase.bat), the message "the system cannot find the path specified" is shown.
Error Message:
The system cannot find the path specified
Root Cause:
Liquibase requires the JAVA_HOME environment variable to be set. If this variable isn't set, it isn't possible to run Liquibase.
However, both the liquibase.jar and liquibase.bat files expect the JAVA_HOME to be set to the root directory of your Java Development Kit (JDK) installation.
Resolution:
Set the JAVA_HOME environment variable to the root directory of your Java Development Kit (JDK) installation.
You can verify this by the following:
- Verify the JAVA_HOME is pointing to a valid directory
- Navigate to JAVA_HOME and ensure that there exists a bin directory with the java executable within it.
Comments
0 comments
Article is closed for comments.