\liquibase-4.3.1\\jre was unexpected at this time

Hi Team,
I am getting below error when I try to start liquibase after installation on Windows.
\liquibase-4.3.1\jre was unexpected at this time.

Thanks.

Hi @Ashwani_Pratap ,

Could we see the complete error message? Do you have java installed? If you open the commandline, what does java --version return? Could you say more about what installer you are running and how (is it the tarball, the msi)?

I hit the same issue with Liquibase 4.23.1.
I fixed it by comparing the new and old liquibase.bat files
Line 17 was the problem. Removing the quotation marks fixed it.

Doesn’t work: set "JAVA_HOME=%LIQUIBASE_HOME%\jre"
Works: set JAVA_HOME=%LIQUIBASE_HOME%\jre

1 Like