Skip to content

Commit bd668f6

Browse files
rework after OH5 release
Signed-off-by: Holger Friedrich <[email protected]>
1 parent 3027467 commit bd668f6

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

configuration/blockly/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Important: For Blockly to work, you need to have the [Javascript Scripting Addon
4444
### openHAB 3 / openHAB 4 to openHAB 4.3 or Later - Migration
4545

4646
From openHAB 4 onwards, the script engine is GraalJS provided by the [JS Scripting Addon](https://www.openhab.org/addons/automation/jsscripting/), **ECMAScript 2022**, when Blockly creates new scripts.
47-
OpenHAB versions before 4.3 could use **ECMAScript 2022** or **NashornJS** with **ECMAScript 5.1**, either installed by default or installed through an Addon.
47+
openHAB versions before 4.3 could use **ECMAScript 2022** or **NashornJS** with **ECMAScript 5.1**, either installed by default or installed through an Addon.
4848
**NashornJS** is no longer an option with openHAB 4.3 or later. Therefore the generated Blockly code needs to be converted to **ECMAScript 2022**.
4949

5050
Converting is as easy as making sure the [JS Scripting Addon](https://www.openhab.org/addons/automation/jsscripting/) is installed, and opening your Blockly script.

installation/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Oracle Java is also suitable for most configurations but it's not recommended. L
4242

4343
::: warning
4444
Java 17 is recommended for openHAB 4.x series.
45-
OpenHABian can install Java 21, but only on the native 64-bit image.
45+
openHABian can install Java 21, but only on the native 64-bit image.
4646
Please note that versions of Java other than 17 and 21 are not supported at the moment.
4747

48-
Upcoming openHAB 5 will require Java 21.
48+
openHAB 5 requires Java 21.
4949
:::
5050

5151
| Java Platform | Advantages | Disadvantages |

installation/linux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ When installing Zulu or Zulu Embedded from a .zip or .tar archive, make sure to
3434

3535
::: tip Note
3636
Make sure to download Zulu or Java **17**.
37-
Using Java 21 is possible, and will be required for openHAB 5.
37+
Java 21 can be used openHAB 4.x, and is required for openHAB 5.
3838
:::
3939

4040
## Installation

installation/synology.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Synology DiskStation
66
:::tip Note
77

88
openHAB 4.x series requires Java 17.
9+
Java 21 can be used openHAB 4.x, and is required for openHAB 5.
910
You will need to provide a working Java installation on your DiskStation.
1011
The sections below are written for Java 11 but the docs are not updated currently, since we have not secured knowledge about how to install Java 17 on the DiskStation.
1112
If you can provide some proper sources and explanation, we are happy to include your contribution into this article.

0 commit comments

Comments
 (0)