I am trying to run Java at the command line in Mac OS Catalina (10.15.7). Everything works properly under Ubuntu 18.04.5, but fails under Mac OS. Here are the specs: