The jhdf5 jar file will also need access to the libraries for your platform, 
usually in the same folder as the jar files. Sometimes the LD_LIBRARY_PATH also 
needs to be set. 

Allen


On Wednesday, November 30, 2016 3:44:07 PM CST Phav Makara wrote:
> Hello!!!
> 
> I have a problem when I try to configure the HDF with Eclipse. I already
> add all the library (.jar) file into my project but I got the following
> error:
> 
> java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
> at java.lang.Runtime.loadLibrary0(Runtime.java:870)
> at java.lang.System.loadLibrary(System.java:1122)
> at hdf.hdf5lib.H5.loadH5Lib(H5.java:317)
> at hdf.hdf5lib.H5.<clinit>(H5.java:257)
> at hdf.hdf5lib.HDF5Constants.<clinit>(HDF5Constants.java:31)
> at hdfFileCreator.CreateHDFfile.CreateDataset(CreateHDFfile.java:23)
> at hdfFileCreator.CreateHDFfile.main(CreateHDFfile.java:95)
> [main] INFO hdf.hdf5lib.H5 - HDF5 library: jhdf5
> [main] INFO hdf.hdf5lib.H5 -  NOT successfully loaded from java.library.path
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> hdf.hdf5lib.H5.H5dont_atexit()I
> at hdf.hdf5lib.H5.H5dont_atexit(Native Method)
> at hdf.hdf5lib.H5.loadH5Lib(H5.java:333)
> at hdf.hdf5lib.H5.<clinit>(H5.java:257)
> at hdf.hdf5lib.HDF5Constants.<clinit>(HDF5Constants.java:31)
> at hdfFileCreator.CreateHDFfile.CreateDataset(CreateHDFfile.java:23)
> at hdfFileCreator.CreateHDFfile.main(CreateHDFfile.java:95)
> 
> I got some suggestion that I should install HDFView. However, after I
> install, there is nothing change at all.
> 
> Any suggestions here would be really helpful.
> 
> Makara
> 



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to