I will develop a Java program for a company where I don't really know whether their IT department will handle things like Java installations correctly, so I would like to ensure that the program I develop for them does not make them require a licence from Oracle.
For this, I would like to find out what JVM would be used to run a Java program without actually running any Java program. I am not sure whether running java -version would be allowed, so I think I can't do it.
I would need to support at least Windows and Mac, but a completely cross-platform approach would certainly be convenient.