开云体育

JMRI install on Raspberry Pi 3b+ #linux #rpi


 

I have installed JMRI on my raspberry Pi 3b+ but when I go to open PanelPro I just get the script details an not the application.
?
I wasn't able to install JMRI only extract the files in the tgz file.
?
When I extracted them to the destination folder, they appear there but when I try to open Panel Pro I get a message "This text file appears to be an executable script. What do you want to do with it?" Choices are Execute, Execute in terminal, Open or Cancel.
?
What have I done wrong?
Also I have had trouble installing Java onto my Raspberry Pi.
?
Regards.?
?


 

First of all is Java installed?

Do this at the command line:

dpkg-query -l openjdk\* | grep ^ii

(yes, there are spaces between the "words" and they are needed. It is not
German.)

If openjdk is not installed, install it:

sudo apt install openjdk-17-jre



At Thu, 20 Feb 2025 17:41:09 -0800 "muncter via groups.io" <muncter@...> wrote:


I have installed JMRI on my raspberry Pi 3b+ but when I go to open PanelPro I just get the script details an not the application.

I wasn't able to install JMRI only extract the files in the tgz file.

When I extracted them to the destination folder, they appear there but when
I try to open Panel Pro I get a message "This text file appears to be an
executable script. What do you want to do with it?" Choices are Execute,
Execute in terminal, Open or Cancel.
What happens when you select "Execute" or "Execute in terminal"? Either of
these should just work.

There should be a file there named CreateJmriApps.sh. I believe this creates
the pointy-clicky desktop icons.


What have I done wrong?
Also I have had trouble installing Java onto my Raspberry Pi.
It is a one-liner in a terminal:

sudo apt install openjdk-17-jre

This will install the proper version for your Pi and whatever O/S you are
using (automatically determining if 32-bit or 64-bit, etc.).


Regards.






--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services


 

muncter,
If you're not a Linux regular, you might save yourself a lot of pain and time by using my pre-configured RPi-JMRI image. See mstevetodd.com/rpi
--SteveT?