Getting Started with hdf5 Java library

后端 未结 1 708
盖世英雄少女心
盖世英雄少女心 2021-01-20 02:49

I am learning HDF5 with jhdf5.

I am working on MAC OS_X.

  1. brew install hdf5

This installs hdf5-1.10 in /usr/local/Cellar/hdf5

相关标签:
1条回答
  • 2021-01-20 03:10

    I found it after trying a few times.

    1. 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.

    2. After installing it (by running the script), go to build directory. Unzip the zip file mentioned in the webpage.

    3. 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.

    0 讨论(0)
提交回复
热议问题