We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1b775 commit d66cb58Copy full SHA for d66cb58
JLinkExamples/CMakeLists.txt
@@ -4,9 +4,9 @@ include(UseJava)
4
5
# add J/Link jar to Java compiler include path
6
set (CMAKE_JAVA_INCLUDE_PATH "${Mathematica_JLink_JAR_FILE}")
7
-# force Java 6 compilation of example sources, J/Link is not compatible with Java 7
+# force Java 8 compilation of example sources
8
# sample source files use Windows character encoding
9
-set (CMAKE_JAVA_COMPILE_FLAGS "-source" "1.7" "-target" "1.7" "-encoding" "Cp1252")
+set (CMAKE_JAVA_COMPILE_FLAGS "-source" "1.8" "-target" "1.8" "-encoding" "Cp1252")
10
11
if (NOT CYGWIN)
12
# UseJava module cannot handle Cygwin path syntax
0 commit comments