I’ve tried to install HDFView on my Linux Ubuntu 20.04 laptop and I found HDFView on the official repositories:
:~$ sudo apt-cache show hdfview
Maintainer: Ubuntu Developers <firstname.lastname@example.org>
Original-Maintainer: Debian Science Team <email@example.com>
Depends: libjgraph-java, libjhdf5-java, libjhdf4-java, libslf4j-java, java-wrappers,default-jre
Description-en: Java HDF Object viewer
HDF is a versatile data model that can represent very complex data objects
and a wide variety of metadata. It is a completely portable file format
with no limit on the number or size of data objects in the collection.
This package provides a HDF4/HDF5 viewer.
I’ve installed this package but when trying to start it, I get this error:
/usr/bin/hdfview: 304: exec: /usr/lib/jvm/java-8-oracle/bin/java: not found
I’ve read the installation steps on this website: https://portal.hdfgroup.org/display/HDFVIEW/HDFView#HDFView-install. It seems there is something to do with the environment variables. However, this information is not meaningful enough for my poor IT skills.
It seems that the package version (2.11.0) available on the official repositories is quite old. Then, it is maybe not the best way to install it.
Could you please let me know how should I install HDFView?
Many thanks for your help!