Skip to content

Commit 406d97f

Browse files
chalintraskcartermp
authored
[Java] getting-started: tweak JDK version constraint (open-telemetry#3877)
Co-authored-by: Trask Stalnaker <[email protected]> Co-authored-by: Phillip Carter <[email protected]>
1 parent 3e362ef commit 406d97f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

content/en/docs/languages/java/getting-started.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,21 @@ weight: 10
99
This page will show you how to get started with OpenTelemetry in Java.
1010

1111
You will learn how you can instrument a simple Java application automatically,
12-
in such a way that [traces][], [metrics][] and [logs][] are emitted to the
12+
in such a way that [traces][], [metrics][], and [logs][] are emitted to the
1313
console.
1414

1515
## Prerequisites
1616

1717
Ensure that you have the following installed locally:
1818

19-
- Java 17 JDK
19+
- Java JDK 17+, due to the use of Spring Boot 3; [Java 8+ otherwise][java-vers]
2020
- [Gradle](https://gradle.org/)
2121

2222
## Example Application
2323

24-
The following example uses a basic
25-
[Spring Boot](https://spring.io/guides/gs/spring-boot/) application. If you are
26-
not using Spring Boot, that's OK — you can use OpenTelemetry Java with other web
27-
frameworks as well, such as Apache Wicket and Play. For a complete list of
28-
libraries for supported frameworks, see the
24+
The following example uses a basic [Spring Boot] application. You can use
25+
another web framework, such as Apache Wicket or Play. For a complete list of
26+
libraries and supported frameworks, consult the
2927
[registry](/ecosystem/registry/?component=instrumentation&language=java).
3028

3129
For more elaborate examples, see [examples](/docs/languages/java/examples/).
@@ -251,8 +249,11 @@ For more:
251249
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#logging-exporter
252250
[exporter]:
253251
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#exporters
252+
[java-vers]:
253+
https://github.com/open-telemetry/opentelemetry-java/blob/main/VERSIONING.md#language-version-compatibility
254254
[manual instrumentation]: ../instrumentation
255255
[opentelemetry-javaagent.jar]:
256256
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar
257257
[releases]:
258258
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases
259+
[Spring Boot]: https://spring.io/guides/gs/spring-boot/

0 commit comments

Comments
 (0)