under ubuntu 16.04, I have problem with pgdbg in GUI mode.
Running pgdbg -v gives:
/usr/bin/xrefresh -geometry 1x1+0+0 2> /dev/null
pgdbg-Warning-Unable to verify Java version using /usr/bin/java.
The minimum required version is 1.6.0_21. If you are
using an older version of Java you may encounter errors
or unexpected behavior.
segmentation fault (core dumped)
But when I check my java with /usr/bin/java -version I get:
openjdk version “1.8.0_162”
OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
I tried to set enviroment variable directly by
$ export PGI_JAVA=/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java
$ export PGI_JAVA=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
but I still get the same error.
I would appreciate it very much if you could give me some advice on how to solve the problem. If you need any further information please let me know.