This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Compiled But Run-Time Error In Hdf5-Java Code

I am testing the hdf5 java code to create .h5 file even though i included the necessary class files I am getting this error in netbeas

================================================== debug: java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at ncsa.hdf.hdf5lib.H5.loadH5Lib(H5.java:298) at ncsa.hdf.hdf5lib.H5.<clinit>(H5.java:228) at ncsa.hdf.hdf5lib.HDF5Constants.<clinit>(HDF5Constants.java:27) at testh5string.TestH5String.main(TestH5String.java:28) Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class ncsa.hdf.hdf5lib.H5 at testh5string.TestH5String.main(TestH5String.java:77) Java Result: 1 BUILD SUCCESSFUL (total time: 4 seconds)

=====================================================

how can I resolve this problem

java

Ir's a LD_LIBRARY_PATH problem. Your question not related to bioinformatics. It will be closed.

0 answers

No answers yet.

Log in to answer this question.