summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 2d1a976..e35fc1d 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -111,7 +111,7 @@ if(Java_JAVA_EXECUTABLE)
if(${Java_FIND_REQUIRED})
message( FATAL_ERROR "Error executing java -version" )
else()
- message( STATUS "Warning, could not run java --version")
+ message( STATUS "Warning, could not run java -version")
endif()
else()
# extract major/minor version and patch level from "java -version" output