I am learning HDF5 with jhdf5.
I am working on MAC OS_X.
This installs hdf5-1.10 in /usr/local/Cellar/hdf5
I found it after trying a few times.
Go to https://support.hdfgroup.org/products/java/release/cmakebuild.html and install CMake-hdfjava-.
NOTE: might need to install CMake if it is not done before.
After installing it (by running the script), go to build directory. Unzip the zip file mentioned in the webpage.
add this when running the java file from IDEs, example:
-Djava.library.path=/Users/wphyo/Projects/LSMD/CMake-hdfjava-3.3.2/build/HDFJava-3.3.2-Darwin/HDF_Group/HDFJava/3.3.2/lib
Alternatively, we can also use the shell script provided in the web page to run too.