Author Topic: installing JMRI  (Read 716 times)

0 Members and 1 Guest are viewing this topic.

Offline donwatson

  • Sr. Member
  • ****
  • Posts: 388
  • Karma: 5
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
installing JMRI
« on: August 15, 2013, 08:58:40 pm »
Hi All,
I would like to install the JMRI suite of programs for the garden railway layout.
Can anyone help me. I have a folder in Downloads called JMRI.3.4-r23744.tgz but that is as far as I dare to go.
I would like the tutorials etc. but will see what happens when/if I get this running.
Thanks for looking..

take care
Don W
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 5    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2688
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: installing JMRI
« Reply #1 on: August 15, 2013, 09:03:08 pm »
It would have to be compiled to run on your system (something I know little about) but if you right click on the file and extract it there is sometimes a README with instructions for installations, might be worth having a look






Good luck


Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14055
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: installing JMRI
« Reply #2 on: August 15, 2013, 09:21:03 pm »
It's a java app so doesn't need compiling .. right click on that JMRI.3.4-r23744.tgz file and select "Extract Here" .. you'll then find a folder called JMRI, enter it .. now click on the application called DecoderPro .. the application should start.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Sr. Member
  • ****
  • Posts: 388
  • Karma: 5
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: installing JMRI
« Reply #3 on: August 16, 2013, 12:11:04 am »
Thanks Guys.
Mark, it opened with an error message but it seems to run ok.
I will download the the Panel Layout tutorial and the Decoder tutorial and see what happens.
Thanks again

take care
Don W
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 5    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14055
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: installing JMRI
« Reply #4 on: August 16, 2013, 12:24:26 am »
it may be that you have the opensource version of JAVA instead of the Oracle version

If you have problems, we'll look into that.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Sr. Member
  • ****
  • Posts: 388
  • Karma: 5
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: installing JMRI
« Reply #5 on: August 16, 2013, 10:58:57 am »
Hi Mark,
I downloaded the tutorials and had a look inside the JMRI folder.
There are various executable files within this folder and I chose Panel Pro as I am doing the Panel tutorial.
When the programme opened it came up with the JMRI Help box and the Panel Pro box.
I can expan/contract and minimise these boxes but I can't close them or Quit.
I ran the InstallTest exe file and it confirmed I am running Java 1.6.
I am now stuck, should I have ran these in a terminal window ?
I will post this and shut down the computer while i check out the windross mail>

take care
don w

Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 5    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14055
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: installing JMRI
« Reply #6 on: August 16, 2013, 11:53:02 am »
OK, so you're on java 1.6 .. still probably the open sourced version and not the sun/oracle version ;)

What's the output from:
Code: [Select]
update-alternatives --display java
?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Sr. Member
  • ****
  • Posts: 388
  • Karma: 5
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: installing JMRI
« Reply #7 on: August 16, 2013, 12:53:34 pm »
Hi Mark

java - auto mode
  link currently points to /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java
/usr/lib/jvm/java-6-openjdk-i386/jre/bin/java - priority 1061
  slave java.1.gz: /usr/lib/jvm/java-6-openjdk-i386/jre/man/man1/java.1.gz
Current 'best' version is '/usr/lib/jvm/java-6-openjdk-i386/jre/bin/java'.

Sorry about this Mark but all seems to be well again.
I have run Decoder Pro and set Preferences, then I ran Panel Pro and confirmed Preferences and everything seems to be ok.

take care
Don W
PS Thanks for the help, I will ( probably ) be back
« Last Edit: August 16, 2013, 01:29:00 pm by donwatson »
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 5    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14055
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: installing JMRI
« Reply #8 on: August 16, 2013, 02:16:12 pm »
If you decide you want to try Oracle Java 8 (bearing in mind the security issues)
Code: [Select]
sudo add-apt-repository ppa:webupd8team/java
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install oracle-java8-installer
then
Code: [Select]
sudo apt-get install oracle-java8-set-default

Then post the output from:
Code: [Select]
java -version
and
Code: [Select]
javac -version
and
Code: [Select]
update-alternatives --display java

Also go here:
http://www.java.com/en/download/testjava.jsp
and check it says you're running Java SE 8

I have no idea how to test if JMRI works .. but I just tested it with Oracle Java 8 and all the menu items *seem* to work.

That said, if it's working in the open source java .. stick with that, it's more secure.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Sr. Member
  • ****
  • Posts: 388
  • Karma: 5
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: installing JMRI
« Reply #9 on: August 16, 2013, 04:22:52 pm »
Hi Mark,
I have been running the Panel Pro this afternoon and have just completed the first tutorial.
Everything is ok at the moment.
I did read your message and tried to test java but it said I needed to install a plugin, so I have left it alone for the moment.
Thanks again for your help.

take care
Don W
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 5    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal