This article describes an alternate method of setting environment variables, suitable for customers using Windows O/S. Please refer to our official documentation for detailed steps on the setup and installation of Semarchy platform and components.
Sample illustration from setenv.bat
set "CATALINA_OPTS=%CATALINA_OPTS% -server -XX:+UseG1GC" set "CATALINA_OPTS=%CATALINA_OPTS% -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Slf4jLogger -Duser.language=en -Duser.country=US -Djava.awt.headless=true" set "CATALINA_OPTS=%CATALINA_OPTS% -Dxdm.config.file=..\conf\config.properties" set "JAVA_HOME=C:\Program Files\Java\jdk-11.0.11" set SEMARCHY_SETUP_TOKEN=Oaklife2022!!
Steps for alternate configuration using Windows G(UI)
1. Navigate to Control Panel
> View by Large icons
> select System
![How can I set environment variables using Windows UI?](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/43283239185/original/I_hGxWU9Hrrxhr3fUrijuTuIOhhuANT3zA.png?1640369550)
2. Select Environment Variables
from Advanced system settings
.
![How can I set environment variables using Windows UI?](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/43283239186/original/Nx4V9mxu8EMYhdjs_YMEg05mRyD5Olyw9g.png?1640369550)
3. Select New
, then enter values for Variable name
and value
.
![How can I set environment variables using Windows UI?](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/43283239193/original/Sq7wHivux4QgvRB3c_AqrskrhFqntJacWw.png?1640369551)