Fix collecting data on some Pasco devices [#66346438]

Fix includes:
- Capping the sample rate to a max value
- Not counting reads of zero samples as an error (some Pasco sensors need to warm up a bit first)
Shut down the sensors on termination
Build: Use default JRE locations if one's not specified