Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Java 8 is required.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 8 Jan 2020 12:12:21 +0000 (13:12 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 8 Jan 2020 12:12:21 +0000 (13:12 +0100)
ChangeLog
sonar-project.properties
tools/cmake/Java.cmake

index d939491..2b319b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
 SimGrid (3.24.1) NOT RELEASED YET (v3.25 expected December 22. 2029, 04:19 UTC)
 
+General:
+- Upgrade documented Java dependency to Java 8 (earlier versions don't work).
+
 S4U:
 - Actor: Merge signals on_migration_start/end into on_host_change
 - Actor: Rename migrate() into set_host()
index 1cd020f..30b086f 100644 (file)
@@ -175,7 +175,7 @@ sonar.coverage.exclusions=teshsuite/smpi/isp/**,teshsuite/smpi/mpich3-test/**,**
 sonar.sourceEncoding=UTF-8
 
 # Version of the used prog languages
-sonar.java.source=7
+sonar.java.source=8
 sonar.java.binaries=CMakeFiles/simgrid-java_jar.dir,examples/deprecated/java
 
 # Don't talk to me: travis don't like your verbosity
index bb6ecba..7803938 100644 (file)
@@ -3,9 +3,9 @@
 ##   This file is loaded only if the Java option is activated
 ##
 
-find_package(Java 1.7 COMPONENTS Runtime Development)
+find_package(Java 1.8 COMPONENTS Runtime Development)
 if (NOT ${Java_FOUND})
-  message(FATAL_ERROR "Java not found (need at least Java7). Please install the JDK or disable that option")
+  message(FATAL_ERROR "Java not found (need at least Java8). Please install the JDK or disable that option")
 endif()
 set(Java_FOUND 1)
 include(UseJava)