Hello,

I am trying to install HDFview on a linux system. When I install it, and
then the following command on my command line

$hdfview.sh

the HDFview 2.9 window does open, but on the command line I get the
following messages:

**********************************************************************************************************
[pradeep@83 ~]$hdfview.sh
java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1698)
 at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
 at ncsa.hdf.hdf5lib.H5.loadH5Lib(H5.java:347)
at ncsa.hdf.hdf5lib.H5.<clinit>(H5.java:274)
at ncsa.hdf.hdf5lib.HDF5Constants.<clinit>(HDF5Constants.java:28)
 at ncsa.hdf.object.h5.H5File.<init>(H5File.java:99)
at ncsa.hdf.object.h5.H5File.<init>(H5File.java:132)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
 at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at ncsa.hdf.object.FileFormat.<clinit>(FileFormat.java:229)
 at ncsa.hdf.view.ViewProperties.load(ViewProperties.java:1072)
at ncsa.hdf.view.HDFView.<init>(HDFView.java:233)
 at ncsa.hdf.view.HDFView$1.run(HDFView.java:2218)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
**********************************************************************************************************

How can I get rid of it?

I have the following environment variables declared in my .bashrc file:

**********************************************************************************************************
export JAVAPATH=/usr/bin
export HDFVIEW_HOME=/usr/local/hdf5/hdf-java/
export PATH=/usr/local/hdf5/bin/:/usr/local/hdf5/hdf-java/bin/:$PATH
**********************************************************************************************************

And this is the structure of my /usr/local/hdf5 folder:


**********************************************************************************************************
[pradeep@83 hdf5]$ls *
bin:
gif2h5*  h5cc*  h5debug*  h5dump*    h5jam*  h5mkgrp*        h5redeploy*
 h5repart*  h5unjam*
h52gif*  h5copy*  h5diff*   h5import*  h5ls*   h5perf_serial*  h5repack*
 h5stat*

hdf-java:
bin/  lib/  UsersGuide/

include:
H5ACpublic.h  H5DSpublic.h  H5FDfamily.h    H5FDmulti.h   H5Gpublic.h
H5MMpublic.h
 H5pubconf.h   H5Tpublic.h
H5api_adpt.h  H5Epubgen.h   H5FDlog.h    H5FDpublic.h  H5IMpublic.h H5Opublic.h
  H5public.h    H5version.h
H5Apublic.h   H5Epublic.h   H5FDmpi.h    H5FDsec2.h  H5Ipublic.h H5overflow.h
 H5Rpublic.h   H5Zpublic.h
H5Cpublic.h   H5FDcore.h    H5FDmpio.h    H5FDstdio.h   H5Lpublic.h H5Ppublic.h
  H5Spublic.h   hdf5.h
H5Dpublic.h   H5FDdirect.h  H5FDmpiposix.h  H5Fpublic.h   H5LTpublic.h
H5PTpublic.h
 H5TBpublic.h  hdf5_hl.h

lib:
libhdf5.a     libhdf5_hl.la*  libhdf5_hl.so.7@    libhdf5.la*
libhdf5.so@    libhdf5.so.7.0.4*
libhdf5_hl.a  libhdf5_hl.so@  libhdf5_hl.so.7.0.4*  libhdf5.settings
 libhdf5.so.7@

share:
hdf5_examples/
**********************************************************************************************************

And the structure of my /usr/local/hdf5/hdf-java folder:

**********************************************************************************************************
[pradeep@83 hdf-java]$ls *
bin:
hdfview.sh*

lib:
ext/   jhdf4obj.jar  jhdf5obj.jar  jhdfobj.jar   junit.jar netcdf.jar*
fits.jar*  jhdf5.jar jhdf.jar      jhdfview.jar  macosx/

UsersGuide:
images/      RELEASE.txt     ug02start.html* ug04treeview.html*
ug06imageview.html*
index.html*  ug01introduction.html*  ug03objects.html* ug05spreadsheet.html*
 ug07textview.html*

**********************************************************************************************************

Thank you,
Pradeep
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to