diff --git a/platform/build-scripts/resources/win/scripts/executable-template.bat b/platform/build-scripts/resources/win/scripts/executable-template.bat index fbfb3c5f5478..00eec38248a0 100644 --- a/platform/build-scripts/resources/win/scripts/executable-template.bat +++ b/platform/build-scripts/resources/win/scripts/executable-template.bat @@ -98,6 +98,7 @@ SET ACC= IF "%VM_OPTIONS_FILE%" == "" ( ECHO ERROR: cannot find VM options file. ) ELSE ( + SET ACC=-Djb.vmOptionsFile="%VM_OPTIONS_FILE%" FOR /F "eol=# usebackq delims=" %%i IN ("%VM_OPTIONS_FILE%") DO CALL "%IDE_BIN_DIR%\append.bat" "%%i" )