# Integrate OneAgent on Azure App Service for Windows: "Site extension overrides JAVA\_OPTS"

**URL:** <https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-site-extension-overrides-java-opts/43183>\
**Category:** Troubleshooting\
**Tags:** windows, azure, java\
**Created:** [December 20, 2023, 8:30am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-site-extension-overrides-java-opts/43183 "2023-12-20T08:30:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karolinaboba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolinaboba/32/19761_2.png) [@karolinaboba](https://community.dynatrace.com/u/karolinaboba)\
**Post date:** [December 20, 2023, 8:30am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-site-extension-overrides-java-opts/43183/1 "2023-12-20T08:30:00Z")

</div>

You need to reinstall OneAgent if the&nbsp;`JAVA_OPTS`&nbsp;variable is either added to or removed from the Azure&nbsp; **Application settings**. If you have the site extension installed and you’re adding or removing&nbsp;`JAVA_OPTS`, the extension must be removed and the application must be restarted before the site extension is reinstalled.  
The value of the&nbsp;`JAVA_OPTS`&nbsp;variable in&nbsp; **Application settings** &nbsp;can be modified without reinstalling the site extension.
