Merge pull request #1418 from LongerVision/master
authorEven Rouault <even.rouault@spatialys.com>
Sat, 7 May 2022 09:52:20 +0000 (11:52 +0200)
committerGitHub <noreply@github.com>
Sat, 7 May 2022 09:52:20 +0000 (11:52 +0200)
Java Support 1.8 now...

src/bin/jpip/CMakeLists.txt

index 9b24fa4a32b6ff949a52a87c1dae2e8f526408c7..c16e4271caaa8fe169c817d4cd3e0b3d0aa8c1fe 100644 (file)
@@ -57,14 +57,14 @@ add_executable(${exe} ${exe}.c)
 endforeach()
 
 # Build the two java clients:
-find_package(Java 1.6 COMPONENTS Development) # javac, jar
+find_package(Java 1.8 COMPONENTS Development) # javac, jar
 
 # User can override this:
 if(NOT DEFINED JAVA_SOURCE_VERSION)
-  set(JAVA_SOURCE_VERSION 1.6)
+  set(JAVA_SOURCE_VERSION 1.8)
 endif()
 if(NOT DEFINED JAVA_TARGET_VERSION)
-  set(JAVA_TARGET_VERSION 1.6)
+  set(JAVA_TARGET_VERSION 1.8)
 endif()
 
 # Only build the java viewer if dev is found: