I am following this
How to set JAVA_HOME for Java?
in order to set the environment variable
JAVA_HOME to the correct version. I have different versions of
java in my
/usr/lib/jvm/folder as illustrated in the following picture.
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" JAVA_HOME="/usr/lib/jvm/java-8-oracle" export JAVA_HOME
however if I run
google-refine I have the following error:
./refine: 98: [: /tmp/refine.S4a2EGD: unexpected operator Google Refine requires Java version 6 or later. If you have multiple versions of Java installed, please set the environment variable JAVA_HOME to the correct version.