diff --git a/test/hotspot/gtest/gtestMain.cpp b/test/hotspot/gtest/gtestMain.cpp index f3d8bd60c98..248ffdaa3ac 100644 --- a/test/hotspot/gtest/gtestMain.cpp +++ b/test/hotspot/gtest/gtestMain.cpp @@ -245,7 +245,7 @@ static void runUnitTestsInner(int argc, char** argv) { char* java_home = get_java_home_arg(argc, argv); if (java_home == NULL) { - fprintf(stderr, "ERROR: You must specify a JDK to use for running the unit tests.\n"); + fprintf(stderr, "ERROR: You must specify a JDK (-jdk , --jdk= or -jdk:) to use for running the unit tests.\n"); os::exit(1); } #ifndef _WIN32