I gues this is an FYI…
I had a hard time building hdfview. I encountered numerous sets of instructions between the old and new support sites including one aimed at CMake build; variations due to 32 and 64 bit identifiers. I eventually wound up downloading and attempting to build all these pieces…
before I discovered the basic issue — HDF5 and HDF both need to be built with --eanble-java. I don’t see that described in most of the instructions I encountered.