On Tue, Apr 13, 2010 at 11:18 AM, Michael Jackson <[email protected]> wrote: > try the following: > > file /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib
$ file /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: Mach-O 64-bit bundle x86_64 > > and report the output back to the list. > ___________________________________________________________ > Mike Jackson www.bluequartz.net > Principal Software Engineer [email protected] > BlueQuartz Software Dayton, Ohio > > > On Apr 13, 2010, at 9:44 AM, Peter Cao wrote: > >> It seems that you have 32-bit java on your system. You should use the >> 32-bit hdfview. >> >> A 64-bit java will look like this: >> $ java -version >> java version "1.6.0_17" >> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025) >> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) >> >> >> George N. White III wrote: >>> >>> Had an older version running, but I can't get hdf-java 2.6.1 release >>> (March 5, 2010) to run on >>> Mac OS 10.5.8. >>> >>> $ uname -a >>> Darwin <hostname> 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 >>> 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 >>> >>> $ /usr/bin/java -fullversion >>> java full version "1.6.0_17-b04-248" >>> >>> The 64-bit version gave: >>> >>> java.lang.UnsatisfiedLinkError: >>> /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: no suitable >>> image found. Did find: >>> /Applications/thg/hdfview64/lib/macosx/libjhdf5.jnilib: unknown >>> required load command 0x80000022 >>> /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: unknown required >>> load command 0x80000022 >>> >>> I think this indicates that the jnilib was build for Snow Leopard >>> >>> >>> The 32-bit version gave: >>> >>> hdfview >>> java.lang.UnsatisfiedLinkError: >>> /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: no suitable >>> image found. Did find: >>> /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: mach-o, but >>> wrong architecture >>> /Applications/thg/hdfview/lib/macosx/libjhdf5.jnilib: mach-o, but >>> wrong architecture >>> >>> >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > -- George N. White III <[email protected]> Head of St. Margarets Bay, Nova Scotia _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
