Jeroen: I believe it is using javac 10/11. If I run maven with -X it prints the version info in the beginning and that points to the same paths as below.
$ javac -version
javac 10.0.2
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)
Jeroen: I believe it is using javac 10/11. If I run maven with -X it prints the version info in the beginning and that points to the same paths as below.
$ javac -version
javac 10.0.2
$ java -version 13-Ubuntu- 1ubuntu0. 18.04.3) 13-Ubuntu- 1ubuntu0. 18.04.3, mixed mode)
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+
OpenJDK 64-Bit Server VM (build 10.0.2+
$ mvn --version jvm/java- 11-openjdk- amd64 38-generic" , arch: "amd64", family: "unix"
Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-