I need to generate a controlled sequence of pseudo-random numbers, given an initial integer parameter. For that I'm using the standard Java Random class, seeded by an integer parameter. I'd like to make sure that I will generate the same sequence across systems (Operating system, but also Java/JDK version), in the foreseeable future (and more!).
In summary: Does Java ensure the reproducibility / portability of it's pseudo-random number generator across implementation and versions?
Note: I've asked the exact same question for Python. I since changed the implementation language to Java but for other reasons.
Yes.
The javadoc explains: