Ok, didn't realize that. Thanks! Now I downloaded the actual HDF5 library and
installed it. I added the following to the VM arguments:
-Djava.library.path="C:\Program Files\HDF_Group\HDF5\1.8.11\bin" ( this is
where the DLLs are).

And at least this code runs through without exceptions: 

System.loadLibrary("hdf5");
System.loadLibrary("hdf5_hl");
System.loadLibrary("jhdf5");

So it seems that the libraries are loaded at least. But when I run the
following, I still get the same exception (java.lang.UnsatisfiedLinkError:
ncsa.hdf.hdf5lib.H5.H5Gget_obj_info_all(ILjava/lang/String;[Ljava/lang/String;[I[JI)I):

H5File h5file = new
H5File("C:\\dev\\workspaces\\hdf5\\hdf5\\src\\main\\java\\com\\vaisala\\hdf5\\hdf5_test.h5",
HDF5Constants.H5F_ACC_RDONLY);
h5file.open();
h5file.close();

Is there something I could still try? 



--
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/Reading-an-HDF5-file-in-Java-tp4026180p4026196.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to