I was pulling my hair out about this so I thought it might be helpful to post what happened on my Ubuntu system. I have Ubuntu 20.04.2 LTS with both Java 11 and Java 8 installed. I was trying to use RMIR v2.12.8 to download from a remote using a serial (not USB) interface I built for JP1.X. Under Remote, Interface, JP1.X Serial the only options were Auto-detect and Other. I got the same results trying Auto-detect or by entering /dev/ttyS0 (which is the serial port I was trying to use) in Other. The interface read and wrote successfully to the same remote using the same laptop/serial port when I booted to Windows 10 and ran RMIR there.
I found that Java 11 was set as the default Java version in Ubuntu. To correct that, I ran the following:
Code: Select all
sudo update-alternatives --config javaSimple solution - after I rebooted and tried RMIR again, I found that under Remote, Interface, JP1.X Serial there were options for /dev/ttyS0 through /dev/ttyS9 in addition to Auto-detect and Other. I left Auto-detect selected, then I was able to upload/download to/from the remote successfully.
Just wanted to post this in case it can help someone else out; if you have multiple Java versions on Linux, there is no need to uninstall versions other than 8. Instead, use update-alternatives to select Java 8 and then reboot.