---
title: Enabling App and API Protection for Java
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Enabling App and API Protection for Java
---

# Enabling App and API Protection for Java

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

{% alert level="info" %}
Your platform may be compatible with Datadog's [Single Step Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/single-step-apm), which automatically instruments your services at startup from the Datadog Agent.
{% /alert %}

## Overview{% #overview %}

App and API Protection leverages the [Datadog Java library](https://github.com/DataDog/dd-trace-java/) to monitor and secure your Java service. The library integrates seamlessly with your existing application without requiring code changes.

For detailed compatibility information, including supported Java versions, frameworks, and deployment environments, see [Java Compatibility Requirements](https://docs.datadoghq.com/security/application_security/setup/java/compatibility).

## Environments{% #environments %}

### Hosts{% #hosts %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Linux
- macOS
- Windows

### Container Platforms{% #container-platforms %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Docker
- Kubernetes

### AWS{% #aws %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- AWS Fargate
- AWS Lambda

### Google Cloud Platform{% #google-cloud-platform %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Google Cloud Run

### Microsoft Azure{% #microsoft-azure %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Azure App Service

## Additional Resources{% #additional-resources %}

- [Troubleshooting Guide](https://docs.datadoghq.com/security/application_security/setup/java/troubleshooting)
- [Compatibility Information](https://docs.datadoghq.com/security/application_security/setup/java/compatibility)
