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.
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.
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
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom