Specify a Custom JRE Location on Windows
This page describes how to specify a custom JRE location for the Machine Agent on Windows for users who have an existing Windows service.
- Set up an environment variable named
APPD_MACHINE_AGENT_JRE_HOME
and set its value to the JRE home folder. - Uninstall the existing Windows service for the Machine Agent. See Uninstall the Machine Agent.
- Unzip the development build.
- Reinstall the Windows service for the Machine Agent. See Windows Install Using ZIP with Bundled JRE. When the service restarts, it should pick up the specified JRE.
- If the environment variable is changed again, restart the service. See step 6 on Windows Install Using ZIP with Bundled JRE.