The downloads page for my app is here:
https://minimserver.com/downloads.html
Under MinimServer downloads, select the "Intel and Apple Silicon" link in the macOS row. This shows a pop-up window. In this window, select "I accept these terms and conditions" and click the Download button.
Now install Java 21. There are instructions for downloading and installing Java on this page:
https://minimserver.com/install-java-macos.html
Open the downloaded .dmg file and drag the green MinimServer icon to the Applications folder. Launch the MinimServer app and confirm that you want to open an application downloaded from the internet.
If you see a pop-up saying that MinimServer wants access to control SystemUIServer, click Allow. If you see a pop-up saying that MinimServer notifications may include alerts, sounds and icon badges, click X to close the pop-up.
You should now see a pop-up asking if you want to allow MinimServer to find devices on local networks. Click Allow.
MinimServer should start successfully and show a transparent icon (musical minim note) in the menu bar. If you did not allow local network access, you should see an error pop-up. Closing this pop-up will cause the minim icon background colour to change to red.
To close the MinimServer app, click the minim icon and select Exit from the drop-down menu.
If local network access is enabled for MinimServer, you should be able to close and relaunch MinimServer any number of times with no errors.
Now reboot macOS and try to launch MinimServer. You should see the error message about no local network access even though MinimServer is showing as enabled in the Local Network section of Privacy & Security. Turning this permission off and on should enable MinimServer to start without an error message.