title: Why liquibase.bat script cannot find jvm.cfg?
body: <p>I cant run liquibase script to DB with the error &quot;could not open `C:\Program Files (x86)\Common Files\Oracle\Java\lib\amd64\jvm.cfg'&quot;
  Actualy, ./amd64/ doesnt exist on my drive</p>
  <pre><code>C:\dev\projects\hrportal\persistence\src\main\resources\scripts&gt;..\liquibase\liquibase-3.8.4\liquibase.bat       --driver=org.postgresql.Driver       --classpath=..       --url=&quot;jdbc:postgresql://localh
  ost:5432/hrportal&quot;       --changeLogFile=db/liquibase_pg/changelog-master.xml       --username=postgres       --password=1234567890     update
  Error: could not open `C:\Program Files (x86)\Common Files\Oracle\Java\lib\amd64\jvm.cfg'
  </code></pre>
  <p>Why do script assign to this path? Where it is defined?
  JDK is install in the other path, so I have no idea why script search smthg in &quot;Program Files (x86)...&quot; directory</p>
  <p>liquibase.bat script is:</p>
  <pre><code>@echo off
  if &quot;%OS%&quot; == &quot;Windows_NT&quot; setlocal
  
  setlocal enabledelayedexpansion
  
  rem %~dp0 is expanded pathname of the current script under NT
  set LIQUIBASE_HOME=&quot;%~dp0&quot;
  
  set CP=.
  for /R %LIQUIBASE_HOME% %%f in (liquibase*.jar) do set CP=!CP!;%%f
  for /R %LIQUIBASE_HOME%\lib %%f in (*.jar) do set CP=!CP!;%%f
  rem remove quotes around LIQUIBASE_HOME
  set LIQUIBASE_HOME=%LIQUIBASE_HOME:&quot;=%
  rem add the lib directory itself to the classpath
  set CP=!CP!;!LIQUIBASE_HOME!lib
  
  rem special characters may be lost
  setlocal DISABLEDELAYEDEXPANSION
  
  IF NOT DEFINED JAVA_OPTS set JAVA_OPTS=-Dprefer.internal.xsd=true
  
  java -cp &quot;%CP%&quot; %JAVA_OPTS% liquibase.integration.commandline.Main %*
  </code></pre>