Keyboard Shortcuts
Likes
Search
Locked
MacOS Install Help
#mac-os
Hi Folks, Apple M1 Pro @Davids-MBP ~ % java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment Homebrew (build 11.0.21+0) OpenJDK 64-Bit Server VM Homebrew (build 11.0.21+0, mixed mode) Davids-MBP ~ % which java /opt/homebrew/opt/openjdk@11/bin/java Thanks, David |
David, Since you deleted ~/Library/Preferences/JMRI, the base user data has to be re-created including creating the My_JMRI_Railroad.jmri profile. ?The new profile requires defining a connection. ?The preferences help page is automatically opened using your default browser. If Safari is your default browser, you need to enable "Show features for web developers" in Safari "Settings => Advanced". You might have been able to close the browser window and finish configuring JMRI. Note: ?I use the Azul Java 11 for macOS. ?I don't move Java to the jre directory. Dave Sand ----- Original message ----- From: raven27679 <debaker02@...> Subject: [jmriusers] MacOS Install Help Date: Sunday, December 10, 2023 2:20 PM Hi Folks, Apple M1 Pro Sonoma 14.1.2 @Davids-MBP ~ % java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment Homebrew (build 11.0.21+0) OpenJDK 64-Bit Server VM Homebrew (build 11.0.21+0, mixed mode) Davids-MBP ~ % which java /opt/homebrew/opt/openjdk@11/bin/java I downloaded the 5.4 release from:? I installed it per the whole drag the jmri folder into the applications folder easy-mode-seems-fine process. I deleted both the preferences and old application folder before doing this. I go to start e.g., PanelPro, it goes to the screen where it shows the splash page, then it goes to the page where it shows loading logic, then the application crashes and sends me to?file:///Users/david/jmrihelp/stub.html I am sure I missed some obvious thing, but does anyone have any idea what to do next to get JMRI working again? Thanks, David |
David, Java appears to be working ok. You should have a session.log file at ~/Library/Preferences/JMRI/log. ?Attach that in a reply. Dave Sand ----- Original message ----- From: raven27679 <debaker02@...> Subject: Re: [jmriusers] MacOS Install Help #mac-os Date: Sunday, December 10, 2023 4:29 PM Hi, I tried entering the program from DecoderPro and you are right, I forgot to say that I got the dialog to establish a connection. ?However, the program still just dies after I select the profile. If it were not finding java, would it have even got that far? David |
David, Try changing the connection to CAN Simulation. Dave Sand ----- Original message ----- From: raven27679 <debaker02@...> Subject: Re: [jmriusers] MacOS Install Help #mac-os Date: Sunday, December 10, 2023 5:55 PM Hi, Here is the log. It stops after Jyton's folder is listed. David Attachments:
|
David, You switched to DecoderPro. ?It does not have the final message that PanelPro has: ?Main initialization done You might also try removing (or renaming) the jre directory that you added to the JMRI install. The start scripts use a terminal command to find Java. /usr/libexec/java_home Try running that to see what macOS considers to be your Java install. Dave Sand ----- Original message ----- From: raven27679 <debaker02@...> Subject: Re: [jmriusers] MacOS Install Help #mac-os Date: Sunday, December 10, 2023 6:34 PM Hi, Changed it over to CAN Sim. Just about the same log. David Attachments:
|
Hi,
Sorry about that, Here is the Panel Pro log. That bit about using that to get java for the scripts is a great thing, who can add that to the JMRI site? ?Yeah apparently my usr java_home is different than all that other stuff. davidbaker@Davids-MBP ~ % /usr/libexec/java_home /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home
/opt/homebrew/opt/openjdk@11/bin/java davidbaker@Davids-MBP ~ % java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment Homebrew (build 11.0.21+0) OpenJDK 64-Bit Server VM Homebrew (build 11.0.21+0, mixed mode) davidbaker@Davids-MBP ~ %? |
David, Since you don't get the final PanelPro message in the system log indicates some sort of environment issue. JMRI officially works with Java 11. ?Some people are able to use Java 17 but that can depend on which JMRI features are being used. ? Is there a non-JMRI reason to have Java 21 installed? ?If not, I would recommend removing all Java installs and go with a standard install of Java 11. ?I prefer Azul Java 11. ? Dave Sand ----- Original message ----- From: raven27679 <debaker02@...> Subject: Re: [jmriusers] MacOS Install Help #mac-os Date: Monday, December 11, 2023 9:07 AM Hi, Sorry about that, Here is the Panel Pro log. That bit about using that to get java for the scripts is a great thing, who can add that to the JMRI site? ?Yeah apparently my usr java_home is different than all that other stuff. davidbaker@Davids-MBP ~ % /usr/libexec/java_home /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home
/opt/homebrew/opt/openjdk@11/bin/java davidbaker@Davids-MBP ~ % java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment Homebrew (build 11.0.21+0) OpenJDK 64-Bit Server VM Homebrew (build 11.0.21+0, mixed mode) davidbaker@Davids-MBP ~ %? Attachments:
|
|