Hi Johan,
it works (well worked… see below) on my machine with the very same setup (basex@10.7 & openjdk@21 via brew, see my previous email), so I am sure it is an issue for certain
setups.
- what’s your security settings? Apple Menu -> Privacy & Security -> Allow Applications Downloaded from… mine is
set to “App Store and identified developers”.
- Now if I set it to “App Store” BaseX will not start with the following error:

BUT: now it won’t start again even if I set it back :-{
So my motivation to find a fix or workaround is considerably higher now
😉 I will report once I found something.
The warning that is dumped to your console — something something NSApplicationDelegate.applicationSupportsSecureRestorableState — doesn’t cause BaseX to crash, as I
could see this warning as well.
Background:
https://stackoverflow.com/questions/77283578/sonoma-and-nsapplicationdelegate-applicationsupportssecurerestorablestate
Best
Michael
Von: Christian Grün <christian.gruen@gmail.com>
Datum: Mittwoch, 25. Oktober 2023 um 13:09
An: Johan Mörén <johan.moren@gmail.com>
Cc: Michael Seiferle <ms@basex.org>, BaseX <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] Crash when starting basexgui
Thanks. It seems we have to wait for Apple to fix this. Unfortunately, their bug tracker
doesn’t seem to be public [2].
Running MacOS Sonoma Apple Silicon M2 processor and ran into the same problem when homebrew updated my JDK to 21.0.1 today.
According to this article it seems like applications like jmeter and IntelliJ needs to fix this by implementing a specific interface. I guess this applies to Basexgui as well?