Migrate Metabase DB from MySQL to Postgres via pgloader

So it looks like our installed openjdk is not the correct version to run the dump-to-h2.

java -version
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (build 1.8.0_462-b08)
OpenJDK 64-Bit Server VM (build 25.462-b08, mixed mode)

My command was failing with similar errors reported in this discussion post:

It looks like openJDK version 17 is not support for RHEL7 which my MySQL db resides on. Is there any toolsets out there that Metabase would work well with the migrate the data? I am at the point of justifying a toolset purchase to get this work completed.