I was, after much consternation, able to install an older version of Java on macOS 14. For those trying to rid their machines of older java versions, these are the only instructions I found that work:
https://gist.github.com/xpepper/ec4251496044fec582a0be30e3f6ba6e
JRE 18 will run on macOS 14...