John,
After you get the error upload the session.log file located at /Users/<username>/Library/Preferences/JMRI/log.
Dave Sand
toggle quoted message
Show quoted text
----- Original message -----
Subject: [jmriusers] Mac Java 17 upgrade caused permission issue
Date: Tuesday, September 03, 2024 8:57 PM
My railroad's Pi/JMRI computer uses Java 17 included with MSteveTodd¡¯s compilation. That works with no problems. This is noted as a reference only.
The issue I¡¯m having is a Permission Denied issue when saving the PanelPro .xml file(s), I use a MacBook for developing JMRI files, which was using Java 11 JDK. With 5.9.x uses Java 17 and future releases will require 17, I upgraded to Java 17 JRE. and removed the zulu-11.jdk directory as per the JMRI method. It upgraded without any problems and worked as expected, maybe even faster? Re-boot done between each change.?
After adding AZUL 17 JRE and removing the 11 directory when quitting JMRI and saving changes a dialog box pops up with Panel Pro ¡°Permission Denied¡±. Clicking OK allows the program to close, as expected. Upon re-starting JMRI the changes saved are there, as expected. No matter if I replace Java 11 as long as Java 17 exists the the error exists.
Question: Did I do something wrong during the upgrade process? ?Or is this a bug with the Mac JMRI version? ?Or is it a Zulu Java 17 issue? ? ?
John ?Bauchiero
- D&H Model Railroad
-?NCE PH-Pro & PowerCab, Pi4b, DCC-EX
- JMRI current test version 5.9.2