Cannot build HDFView

I am unable to build HDFView on Clear Linux.

mp@usm~/Build/hdfview-3.3.1 $ ant run
Buildfile: /home/mp/Build/hdfview-3.3.1/build.xml
 [loadfile] /home/mp/Compiled/hdf5-1.14.2/lib/libhdf4.settings doesn't exist
     [echo] 
     [echo]      Application:      HDFView 3.3.1
     [echo]      Build File:       /home/mp/Build/hdfview-3.3.1/build.xml
     [echo]      
     [echo]      Run by:           mp
     [echo]      Build Dir:        build
     [echo]      Base Dir:         /home/mp/Build/hdfview-3.3.1
     [echo]      Dist Dir:         build/dist
     [echo]      Java Home:        /usr/lib/jvm/java-1.19.0
     [echo]      HDF libpath:      /home/mp/Compiled/hdf5-1.14.2/lib,/home/mp/Compiled/hdf5-1.14.2/lib
     [echo]      HDF4 version:     ${hdf4.version}
     [echo]      HDF5 version:     1.14.2
     [echo]      Operating System: Linux 6.5.9-1373.native amd64
     [echo]      Debug Build:      true
     [echo]     
     [echo] running on Unix

clean:
   [delete] Deleting directory /home/mp/Build/hdfview-3.3.1/build/classes
   [delete] Deleting directory /home/mp/Build/hdfview-3.3.1/build
    [mkdir] Created dir: /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.object
    [mkdir] Created dir: /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.hdfview
    [mkdir] Created dir: /home/mp/Build/hdfview-3.3.1/build/classes/hdf

create-property-file:
[propertyfile] Creating new property file: /home/mp/Build/hdfview-3.3.1/build/classes/hdf/versions.properties

compileobj:
     [copy] Copied 2 empty directories to 2 empty directories under /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.object

compilehdf4:

compilefits:
     [copy] Copied 1 empty directory to 1 empty directory under /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.object

compilenc2:
     [copy] Copied 1 empty directory to 1 empty directory under /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.object

compilehdf5:
     [copy] Copied 1 empty directory to 1 empty directory under /home/mp/Build/hdfview-3.3.1/build/classes/org.hdfgroup.object

compile:
    [javac] Compiling 105 source files to /home/mp/Build/hdfview-3.3.1/build/classes
    [javac] /home/mp/Build/hdfview-3.3.1/src/org.hdfgroup.object/module-info.java:12: error: module not found: jarhdf5
    [javac]     requires jarhdf5; 
    [javac]              ^
    [javac] 1 error

BUILD FAILED
/home/mp/Build/hdfview-3.3.1/build.xml:354: Compile failed; see the compiler error output for details.

Total time: 1 second
mp@usm~/Compiled/hdf5-1.14.2/lib $ pwd
/home/mp/Compiled/hdf5-1.14.2/lib
mp@usm~/Compiled/hdf5-1.14.2/lib $ ls
jarhdf5-1.14.2.jar  libhdf5_cpp.so          libhdf5_fortran.so.310      libhdf5_hl_cpp.so.310      libhdf5hl_fortran.so          libhdf5_hl.so.310.0.2  libhdf5.so.310
jarhdf5.jar         libhdf5_cpp.so.310      libhdf5_fortran.so.310.1.1  libhdf5_hl_cpp.so.310.0.2  libhdf5hl_fortran.so.310      libhdf5_java.la        libhdf5.so.310.2.0
jarhdf.jar          libhdf5_cpp.so.310.0.2  libhdf5_hl.a                libhdf5_hl_fortran.a       libhdf5hl_fortran.so.310.0.2  libhdf5_java.so
libhdf5.a           libhdf5_fortran.a       libhdf5_hl_cpp.a            libhdf5hl_fortran.a        libhdf5_hl.la                 libhdf5.la
libhdf5_cpp.a       libhdf5_fortran.la      libhdf5_hl_cpp.la           libhdf5hl_fortran.la       libhdf5_hl.so                 libhdf5.settings
libhdf5_cpp.la      libhdf5_fortran.so      libhdf5_hl_cpp.so           libhdf5_hl_fortran.so      libhdf5_hl.so.310             libhdf5.so

jarhdf5.jar is indeed present.

Indeed it is there, but what is missing is the hdf4 library. HDF4 is still required as I have not been able to allow it as optional. I wonder if that missing path is causing an issue?