Issur after installing hdfview 3.1.2


#1

Hi All

I’ve been working on both Windows 10 OS and Centos 7 one. No issue under Windows, but the latest hdfview release I’ve installed under my CentOS crashes with some hdf5 files (not all actually, why?)

I’ve the error hereafter while I’ve installed openjdk 16 (java-latest-openjdk.x86_64).

Does somebody ever met such issue?

Thanks

Paul

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class hdf.hdflib.HDFLibrary
at hdf.object.h4.H4File.isThisType(H4File.java:207)
at hdf.view.TreeView.DefaultTreeView.openFile(DefaultTreeView.java:2348)
at hdf.view.HDFView.openLocalFile(HDFView.java:1741)
at hdf.view.HDFView$33.widgetSelected(HDFView.java:1114)
at swt/org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at swt/org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at swt/org.eclipse.swt.widgets.Display.sendEvent(Display.java:5685)
at swt/org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
at swt/org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4953)
at swt/org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4446)
at hdf.view.HDFView.runMainWindow(HDFView.java:378)
at hdf.view.HDFView$39.run(HDFView.java:2572)
at swt/org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at swt/org.eclipse.swt.widgets.Display.syncExec(Display.java:5795)
at hdf.view.HDFView.main(HDFView.java:2563)
Failed to launch JVM

#2

I think that release was missing a library needed for hdf4, xdr.so. This should be fixed in 3.1.3. Either contact the hdf helpdesk or download the hdf4 binary and copy the xdr.so from that binary.

Allen