Source directory | Description |
---|---|
hdf-java/native/hdflib/ | C header files and C source files for HDF4 Java Native Interface |
hdf-java/native/hdf5lib/ | C header files and C source files for HDF5 Java Native Interface |
hdf-java/ncsa/hdf/hdflib/ | Java source files for HDF4 Java Native Interface |
hdf-java/ncsa/hdf/hdf5lib/ | Java source files for HDF5 Java Native Interface |
hdf-java/ncsa/hdf/object/ | Java source files for HDF-Object package |
hdf-java/ncsa/hdf/view/ | Java source files for HDFView |
#!/bin/sh ## This is an example script to set the configure parameters for ## the HDF Java products. ## ## The paths need to be set according to the local configuration ## ## May need to adjust the arguments to configure ## ## ## ## IMPORTANT NOTE: The make files require 'gmake' ## ## Be sure to 'setenv MAKE gmake' if necessary ## INSTDIR= # FILL IN where to install the hdfview. JAVAINC= # FILL IN path to java includes (jni.h, etc.) JAVALIB= # FILL IN path to java lib (the rt.jar, etc.) HDF5= # path to HDF5 installation, e.g., /usr/local/hdf5-1.6.2 HDF4= # path to HDF4 installation (if used) HDF45= # path to HDF4 to HDF5 installation (if used) ## Autoconf detects shared libraries, but we need static versions ## must set these paths for external libraries needed for HDF libraries. # JPEG is required by HDF4. If HDF4 is used, _must_ set JPEG JPEG= # FILL IN path to JPEG installation (the path to libjpeg.a is needed) # GZIP is required by HDF4 and optional for HDF5. # If HDF4 is used, _must_ set GZIP # If HDF5 is used and zlib is used, _must_ set GZIP GZIP= # FILL IN path to GZIP installation (the path to libz.a is needed) # SZIP is optional for HDF4 and HDF5. # If szip is used in one or both HDF libraries, _must_ set SZIP SZIP= # FILL IN path to SZIP installation (the path to libsz.a is needed) #### ./configure --prefix=$INSTDIR --with-jdk=$JAVAINC,$JAVALIB \ --with-hdf5=$HDF5/include,$HDF5/lib \ --with-hdf4=$HDF4/include,$HDF4/lib \ --with-libsz=$SZIP/include,$SZIP/lib \ --with-libz=$GZIP/include,$GZIP/lib \ --with-libjpeg=$JPEG/include,$JPEG/lib # other options # # --without-hdf4 -- omit HDF4 # --without-hdf5 -- omit HDF5 # --without-libsz -- omit SZIP # --without-libz -- omit GZIP # --without-libsz -- omit GZIP # # # Some options required only for macOSX # # -build=powerpc-apple # --with-jdkclasses= # path to classes if not in 'jdk/lib' # --with-javabin= # path to java bin, if not in 'jdk/bin' |
jhdf.jar |
The Java interface to the HDF4 Library (requires libhdf.so) |
jhdf5.jar |
The Java interface to the HDF4 Library (requires libhdf5.so) |
jhdfobj.jar |
The Generic Data Object package (interfaces), ncsa.hdf.object (See <pointer>) |
jhdf4obj.jar |
The implementation of the object package for HDF4 (requires jhdf.jar) |
jhdf5obj.jar |
The implementation of the object package for HDF5 (requires jhdf5.jar) |
jhdfview.jar |
The Java GUI, requires all jars and C libs. |
libjhdf.so |
The JNI wrapper for HDF4, plus the HDF4 library (implements native calls for jhdf.jar) |
libjhdf5 |
The JNI wrapper for HDF45 plus the HDF4 library (implements native calls for jhdf5.jar) |
#!/bin/sh # where the HDFView is installed HDFVIEW_HOME=/programs/java/hdf export HDFVIEW_HOME # where Java is installed (requires jdk1.5.0 or above) JAVAPATH=/opt/jdk1.5.0/bin export JAVAPATH # all the jar files CPATH=$HDFVIEW_HOME"/lib/jhdf.jar" CPATH=$CPATH":"$HDFVIEW_HOME"/lib/jhdf5.jar" CPATH=$CPATH":"$HDFVIEW_HOME"/lib/jhdfobj.jar" CPATH=$CPATH":"$HDFVIEW_HOME"/lib/jhdf4obj.jar" CPATH=$CPATH":"$HDFVIEW_HOME"/lib/jhdf5obj.jar" CPATH=$CPATH":"$HDFVIEW_HOME"/lib/jhdfview.jar" # Example: includes netcdf and fits support CPATH=$CPATH":""$HDFVIEW_HOME"/lib/netcdf.jar:"$HDFVIEW_HOME"/lib/fits.jar" if test -z "$CLASSPATH" ; then CLASSPATH="" fi CLASSPATH=$CPATH":"$CLASSPATH export CLASSPATH if test -n "$JAVAPATH" ; then PATH=$JAVAPATH":"$PATH export PATH fi if test -z "$LD_LIBRARY_PATH" ; then LD_LIBRARY_PATH="" fi # example: set path for linux LD_LIBRARY_PATH=$HDFVIEW_HOME/lib/linux:$LD_LIBRARY_PATH export LD_LIBRARY_PATH $JAVAPATH/java -mx512m ncsa.hdf.view.HDFView -root $HDFVIEW_HOME |