Project

General

Profile

Java Version Requirements » History » Version 23

Henning Blohm, 18.06.2023 12:37

1 1 Henning Blohm
Z2 has the following Java Version requirements
2
3 14 Henning Blohm
|_. Z2 Version  |_. Min. Java version required |_. Max Java version supported |_. Max language level |
4
| 2.1 - 2.3.1  | Java 6 | Java 7 | Java 7 |
5
| 2.4 - 2.5    | Java 8 | Java 8 | Java 8 |
6 15 Henning Blohm
| 2.6  | Java 9 | Java 11 | Java 10 |
7 16 Henning Blohm
| 2.7  | Java 9 | Java 11 | Java 11 |
8 17 Henning Blohm
| 2.8  | Java 9 | Java 13 | Java 13 |
9 20 Henning Blohm
| 2.9b  | Java 8 | Java 8 | Java 8 |
10 21 Henning Blohm
| 2.9.1  | Java 11 | Java 16 | Java 15 |
11
| 2.9.1b  | Java 8 | Java 8 | Java 8 |
12 23 Henning Blohm
| 2.10  | Java 11 | Java 18 | Java 18 |
13 22 Henning Blohm
| master  | Java 11 | ? | Java 18 |
14 4 Henning Blohm
15 11 Henning Blohm
*Note:* Most samples suggest to use the *master* branch. You may choose another version branch (please check the respective repository).
16 1 Henning Blohm
Make sure you have a corresponding Java Development Kit (JDK) or Java Runtime Environment (JRE) installed. If in doubt, go to "Download Java SE":http://www.oracle.com/technetwork/java/javase/downloads/index.html.
17 11 Henning Blohm
18
*Note:* Running v2.1-v2.3.1 on Java 8 is supported by specifying 
19
20
<pre>
21
com.zfabrik.java.level=7
22
</pre>
23
24
(or 6, if that is your desired compilation language level) in @<home>/run/bin/runtime.properties@. By this the Java compiler version detection does not fall back to a lower level.