Issur after installing hdfview 3.1.2


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?



Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class hdf.hdflib.HDFLibrary
at hdf.object.h4.H4File.isThisType(
at hdf.view.TreeView.DefaultTreeView.openFile(
at hdf.view.HDFView.openLocalFile(
at hdf.view.HDFView$33.widgetSelected(
at swt/org.eclipse.swt.widgets.TypedListener.handleEvent(
at swt/org.eclipse.swt.widgets.EventTable.sendEvent(
at swt/org.eclipse.swt.widgets.Display.sendEvent(
at swt/org.eclipse.swt.widgets.Widget.sendEvent(
at swt/org.eclipse.swt.widgets.Display.runDeferredEvents(
at swt/org.eclipse.swt.widgets.Display.readAndDispatch(
at hdf.view.HDFView.runMainWindow(
at hdf.view.HDFView$
at swt/org.eclipse.swt.widgets.Synchronizer.syncExec(
at swt/org.eclipse.swt.widgets.Display.syncExec(
at hdf.view.HDFView.main(
Failed to launch JVM


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