Java Model Railroad Interface
Summary: The Java Model Railroad Interface is a suite of programs but a single download. Basically there 3 main components: 1. A very complete database of decoders and a graphical interface to programming their features, i.e. you don't need to know the CVs. 2. A nice database/inventory component. 3. A computer automation component for your layout. JMRI interfaces to many different command stations. Don't worry about about trying to just install one part separately - they're all bundled together. Note well: you do not need to learn/use all parts of the suite, for example if all you want to do is program a decoder, you do not need to run the inventory or the layout automation components.
As the name says, it is built upon Java technology, giving it a degree of platform independence. Your computer must be capable of running Java. The version of Java that will work with your computer also determines the features JMRI offers you.
- 1 The Java Model Railroad Interface
- 1.1 Version Numbering Scheme
- 1.2 How can I Help with JMRI?
- 1.3 Contribributing Software to JMRI
- 1.4 Supported Hardware
- 1.5 Operating Systems
- 1.6 User Support
- 1.7 The JMRI Components
- 1.8 Hardware Issues
- 1.9 See Also
The Java Model Railroad Interface
As the name says, it is built upon Java technology, giving it a degree of platform independance. Your computer must be capable of running Java. The version of Java that will work with your computer also determines the features JMRI offers you.
Version Numbering Scheme
JMRI uses a simple version number system. The most current version of JMRI is on their webpage, and is currently Version 4.X.Y.
- Production releases are identified by an even number for the X value. This is the version you want to download for normal use.
- For a Development release, the value of X is odd. These are available for testing and development purposes only, which you can install if you wish, although most users will not benefit from a development release. After testing and fixing issues, the final development version is released to the community as a production version.
- The value of Y indicates an incremental update.
There is much more information available on the JMRI web site.
How can I Help with JMRI?
If you find JMRI to be useful, donations are appreciated to help cover the costs of providing JMRI to the community, and help pay the legal costs of defending JMRI during the Jacobsen v. Katzer lawsuit. The result was an important decision regarding Open Source Software. Even the NMRA became involved to protect their DCC Standards from questionable patents. In the end the decision benefited the Model Railroading community immensely.
Contribributing Software to JMRI
You can get more info on working on improving JMRI.
JMRI supports a number of DCC systems and hardware:
- Atlas Commander
- Lionel TMCC
- Oak Tree Systems
- Protrak Grapevine
- Uhlenbrock Intellibox
- Viessmann Commander
- Zimo MX-1
For a current list of supported hardware see the JMRI Website.
JMRI will run on:
- Mac OS X / MacOS
- MS Windows
A version of JAVA which is compatible with the JMRI version being installed is required. The current 4.x versions require Java 1.8 (AKA Java 8).
- JMRI 4.X will run on Windows XP or Windows Vista SP1, provided Java 1.8 is installed. Installation is a little difficult as Oracle's Java website will warn you that XP is obsolete, but an install package is still available.
- To install Java on Windows XP, download an Offline version for installation. Oracle does not support Java on XP, and it may break at any time. See JMRI Install Guide Windows for more information.
The JMRI site also mentions that computer hardware running current versions of MS Windows is available on the used market cheaply. It may be easier to buy a used computer which is compatible with recent versions of Java for a reasonable price than trying to upgrade an old one. See the install page for recommended hardware specs.
MacOS Big Sur
The fall 2020 release of MacOS Big Sur presents some challenges to running JMRI.
For safety, the OS will not accept many older device drivers, requiring them to updated. Unfortunately many vendors haven't bothered to do that. Therefore you may have to purchase new hardware to connect your Mac to your layout. It is advisable to wait before updating to the newest OS versions due to these reasons.
FTDI is working on new drivers, which are not available yet.
- Apple has included the drivers for FTDI's chipsets with their OS over the past several updates. Unfortunately they only support certain FTDI devices. The LocoBufferUSB and ESU's USB to Serial devices still require installing an updated driver. Otherwise, most FTDI based devices should still work.
JMRI Users can find technical support on via a very active JMRI users group available on GroupsIO. The mailing list is populated by users and developers, so a solution to your issue can be found.
The JMRI Components
What can you do with JMRI?
- Use DecoderPro to configure your locomotive decoders and keep a roster of your DCC equipped locomotive fleet.
- PanelPro can run locomotives, throw turnouts, control signals, and even create control panels. But you shouldn't expect it to be as powerful as a commercial layout management program; JMRI isn't meant to compete directly with them.
- Use the LocoTools application with your Digitrax command station to control your layout, monitor communications, configure add-on devices, etc.
- The JRMI interfaces allow you to write programs for your own layouts. Making this easy is an important goal. This can be done via the scripting language, or by adding new Java code to the program.
- Write new general-purpose tools. Although this is a little harder than writing automation for your own layout, writing tools that other people use can be very satisfying.
- Implement the JMRI interfaces for a new system. Having JMRI work with other systems is an important goal. Once an implementation for another system works, the general tools (e.g. symbolic programmer, automations tools, signalling, etc) can be immediately used.
JMRI - DecoderPro
Many people that have expensive track control software still use this software for its ability to quickly program a wide range of decoders. The JMRI suite of programs runs on Mac Classic and OS X, Linux, and Windows machines, all under Java. All major manufacturers of DCC equipment, systems and decoders, are supported.
JMRI - Layout Automation
Layout Automation applications provide a large number of ways of automating your layout, ranging from simple fill-in forms to full-fledged scripting and programming capabilities. These include:
- A simple form of automation is to define Routes, which allow you to simplify the control of your turnouts.
- Signal logic
- JMRI provides built-in signalling logic which can be used to drive your signal heads in many applications.
- JMRI provides a very powerful scripting tool. Based on a real programming language, it gives you access to all the JMRI capabilities.
- Writing your own code in Java
- The JMRI libraries greatly simplify writing a program to make your layout do exactly what you want.
JMRI - PanelPro
PanelPro is an application for operating CRT based CTC control panels that reflects the real-time state of your railroad and let you control it - almost like a Prototype dispatcher.
JMRI - LocoNet™ Tools
LocoNet Tools contain a number of LocoNet tools. Please see link for further details.
- LocoNet monitor
- Display and log the traffic on the LocoNet, in either hex or human readable form.
- Slot monitor
- Packet source
- A tool to let you type and send packets to the LocoNet
- BDL16, BDL162 and PM4 programmers
- A tool to let help you configure BDL16, BDL162 and PM4 boards.
- LocoIO programmer
- A tool to let help you configure a LocoIO board.
There is a known bug in JMRI 4.16 that can disable operation of a LocoBuffer-USB.
If you have a LocoBuffer-USB and this issue appears, the solution is to upgrade to version 4.17 or higher of the JMRI software.