diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index c7abd83a8e19d7adf42cc825443b69583edbf5b5..6b307e97dc57aa98b80965937f758a668d01ee92 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -847,7 +847,7 @@ ifndef NO_JVMTI
   ifeq ($(feature-jvmti), 1)
     $(call detected_var,JDIR)
   else
-    $(warning No openjdk development package found, please install JDK package)
+    $(warning No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel)
     NO_JVMTI := 1
   endif
 endif