Which JDK provider/version is recommended for Remote Master
Posted: Wed May 14, 2025 3:45 pm
The project doc on Source forge just mentions Java 8+ . Obviously, there have been many versions of the JDK/JRE since then. And there are multiple distributions, such as Oracle Java and OpenJDK, etc.
I have run into strange bugs with RMIR, and the behavior for these bugs is unfortunately different depending upon the version of Java installed. For instance, I just had a remote I could not load after editing and doing a "save as" when using Java 20. I was getting "Error loading file" on the new copy. I upgraded to Java 24, and the problem with reload is gone, though there are still drawing/repaint problems in the GUI. But at least I can edit it.
FYI, that RMIR file is at https://drive.google.com/file/d/1Jk2PDl ... drive_link . I believe it was last saved with RMIR 3.0.3 . It fails to load after "Save as" in RMIR 3.2.0 using Oracle Java 20 on Windows.
So, my question is, which version of Java is the current maintainer of the project using ? I'd like to use the same one. It would probably be useful information to have in the distribution/readme for future versions going forward.
I know that Java in theory is supposed to be "write once, run anywhere". But in practice, it's also "write once, debug everywhere", unfortunately. Having done a lot of cross-platform development myself, though never in Java, I unfortunately think this is unavoidable. But at least some issues with the debugging part could probably be mitigated/skipped by using the same version as the maintainer uses for development.
I have run into strange bugs with RMIR, and the behavior for these bugs is unfortunately different depending upon the version of Java installed. For instance, I just had a remote I could not load after editing and doing a "save as" when using Java 20. I was getting "Error loading file" on the new copy. I upgraded to Java 24, and the problem with reload is gone, though there are still drawing/repaint problems in the GUI. But at least I can edit it.
FYI, that RMIR file is at https://drive.google.com/file/d/1Jk2PDl ... drive_link . I believe it was last saved with RMIR 3.0.3 . It fails to load after "Save as" in RMIR 3.2.0 using Oracle Java 20 on Windows.
So, my question is, which version of Java is the current maintainer of the project using ? I'd like to use the same one. It would probably be useful information to have in the distribution/readme for future versions going forward.
I know that Java in theory is supposed to be "write once, run anywhere". But in practice, it's also "write once, debug everywhere", unfortunately. Having done a lot of cross-platform development myself, though never in Java, I unfortunately think this is unavoidable. But at least some issues with the debugging part could probably be mitigated/skipped by using the same version as the maintainer uses for development.