--- libraries/javacheck/CMakeLists.txt.orig	2026-01-05 16:32:46 UTC
+++ libraries/javacheck/CMakeLists.txt
@@ -4,7 +4,7 @@ set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck)
 
 include(UseJava)
 set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck)
-set(CMAKE_JAVA_COMPILE_FLAGS -target 1.6 -source 1.6 -Xlint:deprecation -Xlint:unchecked)
+set(CMAKE_JAVA_COMPILE_FLAGS -Xlint:deprecation -Xlint:unchecked)
 
 set(SRC
     JavaCheck.java
