I recently retired the XP computer where JMRI was installed and always run from. I wanted to bring the program and data over to Windows 10 so I would not need to boot the old XP machine to run trains. In my case this isn’t really two machines, but two hard disks in one machine. Windows 10 boots by default or Windows XP can be booted by bringing up a boot menu and choosing the other hard disk. The entire XP machine is available as a drive from the Win 10 machine. This is similar to having two machines on a home network with the root (C:) shared.
Fortunately I saved the install file from when I first installed JMRI. This allowed me to install the identical version on Windows 10 eliminating any potential data compatibility issues. The install went without a hitch and JMRI seems to run fine on Windows 10. After starting JMRI and looking at the File Locations, I canceled the Preferences window that opens with a new install and quit JMRI.
Next I went to the folder above the one listed under User File Locations in Preferences and renamed the folder JMRI to something like DEFAULT.JMRI.
I then copied the entire JMRI folder found on the XP drive to the Windows 10 user folder as noted above in File Locations.
Since some of the files copied contain the old User File locations and other paths, they need to be modified. To get the exact paths I went back to DEFAULT.JMRI and opened PanelProConfig2.xml using notepad (.XML files are clear text files). Simultaneously I opened PanelProConfig2.xml in the JMRI folder and replaced all of the File Location paths in the second file with those from the first. There was one other file that had File Locations; DecoderProConfig3.xml which I also updated with the new file locations.
Once this was done the next time I opened JMRI Operations all of my trains, cars and locations were exactly as I left them in XP