Hi Martin,
It looks like it can’t find the HDF5 library… (jarhdf5-1.10.5.jar).
Here is what I did:
- Installed HDFView
- Moved slf4j-simple-1.7.25.jar out of the lib/ directory (due to duplicate variables found)
- Created a script (runlinobj.sh) that sets the Java path and classpath.
- Edited H5ObjectEx_G_Create.java and commented out the line “package examples.groups;”
near the top. - Typed “./runlinobj.sh H5ObjectEx_G_Create”
Attached are the runlinobj.sh script and the modified H5ObjectEx_G_Create.java files.
If you have HDFView installed, then edit the script to point to the HDFView home location (HDFJAVA_HOME) and edit JAVAPATH for the location of java.
runlinobj.sh (387 Bytes)
H5ObjectEx_G_Create.java (1.9 KB)