Question: (Closed) Compiled But Run-Time Error In Hdf5-Java Code
0
gravatar for chaitu
5.4 years ago by
chaitu10
chaitu10 wrote:

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 • 2.0k views
ADD COMMENTlink written 5.4 years ago by chaitu10

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

ADD REPLYlink written 5.4 years ago by Pierre Lindenbaum119k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1151 users visited in the last hour