3 ms·java --version only works on Java 11 and newer.by theandrewbailey 6y agojava --version only works on Java 11 and newer.