Bug#848257: hdfview: No java runtime was found

yota moteuchi yota.news at gmail.com
Sun May 28 10:36:00 UTC 2017


I found a solution to this (under ubuntu, but it should work also on debian)

First, check the java installed

sudo update-alternatives --config java

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1091
   auto mode
* 1            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081
   manual mode
  2            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1091
   manual mode

Then, set the JAVA_HOME variable accordingly:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre

hdfview doesn't complains anymore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170528/d7161db8/attachment-0001.html>


More information about the debian-science-maintainers mailing list