Skip to content

Commit

Permalink
Minimum required Java version is 11
Browse files Browse the repository at this point in the history
  • Loading branch information
yurloc committed Nov 10, 2020
1 parent 373372a commit 77b2e87
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions optaweb-vehicle-routing-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,8 @@
<configuration>
<compilerArgs>
<!--
Visit https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
to learn more about javac warnings.
-->
Visit https://docs.oracle.com/en/java/javase/11/tools/javac.html to learn more about javac warnings.
-->
<arg>-Xlint:all</arg>
<arg>-Xlint:-processing</arg>
<arg>-Xlint:-serial</arg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ To learn more about the back end code architecture, see <<appendix-backend-archi
=== Running the back end using Spring Boot Maven plugin

.Prerequisites
- Java 8 or higher is <<quickstart#install-java,installed>>.
- Java 11 or higher is <<quickstart#install-java,installed>>.
- The data directory is set up.
- An OSM file is downloaded.
// TODO application-local.properties
Expand Down
12 changes: 6 additions & 6 deletions optaweb-vehicle-routing-docs/src/main/asciidoc/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ You will use a Bash script to run the binary without having to build the project
//to display map tiles and provide search results.

[[install-java]]
== Install Java 8 or higher
== Install Java 11 or higher

*Java SE 8 or higher* must be installed on your system before you can use OptaWeb Vehicle Routing.
*Java SE 11 or higher* must be installed on your system before you can use OptaWeb Vehicle Routing.

NOTE: It is recommended that you install Java SE Development Kit (JDK) because it is necessary in order to build OptaWeb Vehicle Routing from the source.
However, if you have a binary distribution of OptaWeb Vehicle Routing, you only need the Java SE Runtime Environment (JRE).
Expand All @@ -28,12 +28,12 @@ However, if you have a binary distribution of OptaWeb Vehicle Routing, you only
java -version
----

. If necessary, install OpenJDK 8.
* To install OpenJDK 8 on Fedora, enter the following command:
. If necessary, install OpenJDK 11.
* To install OpenJDK 11 on Fedora, enter the following command:
+
[source,shell]
----
sudo dnf install java-1.8.0-openjdk-devel
sudo dnf install java-11-openjdk-devel
----

* To install OpenJDK on other platforms, follow instructions at https://openjdk.java.net/install/.
Expand Down Expand Up @@ -71,7 +71,7 @@ NOTE: If Bash is not available on your system, continue to <<run-noscript#run-no
.Prerequisites
* Internet access is available.
When OptaWeb Vehicle Routing runs it uses third-party public services such as link:https://www.openstreetmap.org/about[OpenStreetMap] to display map tiles and provide search results.
* Java 8 or higher is installed.
* Java 11 or higher is installed.
* OptaWeb Vehicle Routing distribution archive is downloaded and extracted.

.Procedure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To use the quickstart mode, run the script with no arguments.
.Prerequisites
* `optaweb-vehicle-routing` repository is cloned on your computer.
* Internet access is available.
* Java 8 or higher is installed.
* Java 11 or higher is installed.

.Procedure
. Change directory to the project root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $HOME/{data-dir-name}
.Prerequisites
* Internet access is available.
When OptaWeb Vehicle Routing runs it uses third-party public services such as link:https://www.openstreetmap.org/about[OpenStreetMap] to display map tiles and provide search results.
* Java 8 or higher is installed.
* Java 11 or higher is installed.
* The data directory is created at `$HOME/{data-dir-name}`.
* A subdirectory called `openstreetmap` with at least one OSM file exists.
* A country code to use in search queries is identified.
Expand Down

0 comments on commit 77b2e87

Please sign in to comment.