Hi Johan, 
Hi Joe, 

ok so I made it work again: 
I uninstalled the homebrew openjdk: 
brew uninstal openjdk --ignore-dependencies
I manually installed: https://adoptium.net
Eclipse Temurin™  Open JDK Version 21.0.1, and it is working again. 

Maybe this works for you as well, seems like a pretty annoying issue to say the least.



All the best :-)
Michael 


Am 25.10.2023 um 14:21 schrieb Michael Seiferle <ms@basex.org>:

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.
 
  1. what’s your security settings? Apple Menu -> Privacy & Security -> Allow Applications Downloaded from… mine is set to “App Store and identified developers”.
  2. Now if I set it to “App Store” BaseX will not start with the following error:
<image001.png>
 
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:
 
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].
 
 
 
On Wed, Oct 25, 2023 at 1:01 PM Johan Mörén <johan.moren@gmail.com> wrote:
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?
 
 
Regards,
Johan