Hi,
I cannot run ProjectLibre 1.9.8 jar in Java 24 because the Security Manager has been permanently disabled:
java -jar projectlibre-1.9.8.jar
opts:
ProjectLibre Version: 1.9.8 local version 1.9.8 updated=false java version=24.0.1
Exception in thread "main" java.lang.UnsupportedOperationException: Setting a Security Manager is not supported
at java.base/java.lang.System.setSecurityManager(System.java:286)
at com.projectlibre1.pm.graphic.frames.StartupFactory.instanceFromNewSession(Unknown Source)
at com.projectlibre1.pm.graphic.gantt.Main.main(Unknown Source)
at com.projectlibre1.main.Main.main(Unknown Source)
I am running on:
macOS 12.7.6 (21H1320)
openjdk version "24.0.1" 2025-04-15
OpenJDK Runtime Environment (build 24.0.1+9)
OpenJDK 64-Bit Server VM (build 24.0.1+9, mixed mode, sharing)
On the other hand, macOS executable (from downloadable dmg) seems not to be runnable in my OS version. I could not find a list of system requirements to check which OS are supported. I would be nice to have system requirements information somewhere in the website (if it does not really exist).
Thank you.
Java 24 is a short-term release that has experimental features being evaluated. You should run on Java 21 We advise the user to run ProjectLibre 1.9.8 on Java 21. It was built and tested against that specific version, and compatibility issues with newer, short-term releases like Java 24 are to be expected.
**** Java 24 includes 24 experimental, incubator, preview, and permanent features. According to the release notes, these include noteworthy changes impacting the building, running, and profiling of Java applications.
From their release notes: However, it's crucial to understand that:
Short-term releases are not intended for production use. They are primarily for developers to explore new features and provide feedback.
Compatibility is not guaranteed: Applications built and tested on an LTS release like Java 21 may encounter compatibility issues with newer, short-term releases.
Therefore, for a stable and supported experience with ProjectLibre 1.9.8, users using Java 21 is the correct approach. Java 24 is a newer, short-term release with experimental features that not be compatible with all applications.
Ok. I see. Thank you. However, using any Java version under 24 is not feasible for me at the moment.
Sorry, I forgot to ask which is the oldest macOS version supported by the dmg executable.
Thanks.
Just a note for the Macs running on x86, the dmg is for Apple Silicon and won’t work for x86.
When there are compatibility problems, users can still install Java 21, download the jar and double click on it.