jmol: add version 14.31.0 (#17351)
jmol: add version 14.31.0 (#17351)

Also:

* Add url_for_version function
* Add Java to PATH for run environment
* Update `install` method to handle old and new version

Co-authored-by: lu64bag3 <03dbd508bfdb07f6a875b4499443763370bacd88@lrz.de>
iulian787/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack