From d7fa8bde7e2edcdb3427f119b38081b035088f78 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Mon, 29 Jul 2024 09:34:12 +0300 Subject: [PATCH] Update Java version used in Async Profiler doc troubleshooting --- TROUBLESHOOTING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 7a4beefde5fcb..47068dcc390ae 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -40,14 +40,14 @@ For allocation profiling, you also need to install HotSpot debug symbol (unless Depending on your Linux and Java distribution this can be done via: ```shell script -# Ubuntu/Debian - Java 8 -apt install openjdk-8-dbg +# Ubuntu/Debian - Java 17 +apt install openjdk-17-dbg -# Ubuntu/Debian - Java 11 - apt install openjdk-11-dbg +# Ubuntu/Debian - Java 21 + apt install openjdk-21-dbg -# On CentOS, RHEL and some other RPM-based distributions - Java 11 -debuginfo-install java-11-openjdk +# On CentOS, RHEL and some other RPM-based distributions - Java 17 +debuginfo-install java-17-openjdk ``` You can also use a __fastdebug__ build of OpenJdk, this kind of build is not for production use (JVM as assertions are enabled), but it includes debug symbols