Until now, I've always used the latest Oracle JRE (installed from the Arch Linux AUR) with the latest 1.x Arduino IDE. With the latest version v16 this doesn't work anymore. As soon as I try to open the file dialog (to open or save etc.) the application crashes.
Which is the recommended JRE to use?
Manjaro Linux packages also include OpenJDK 8, 11 and 15. I could also install an older Oracle JRE.
I've installed it from the AUR, which is basically a user/community driven package repository.
Your reply gave me the idea to check my Arduino IDE on my Windows system for the packaged Java version:
C:\Program Files (x86)\Arduino\java\bin>java.exe -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) Client VM (build 25.191-b12, mixed mode)
This is the latest Arduino IDE v1.8.13, which comes with Java 1.8.x, what is commonly known as "Java 8". So the OpenJDK 8 should be enough and does indeed work.