The comand ./refine leads to :
Could not find the 'java' executable at '', are you sure your JAVA_HOME environment variable is pointing to a proper java installation?
Below is the part of the code in "refine" to see that I have a "path" problem :
- Code: Select all
if [ "$JAVA_HOME" ] ; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="`which java 2> /dev/null`"
fi
if [ ! -x "$JAVA" ] ; then
error "Could not find the 'java' executable at '$JAVA', are you sure your JAVA_HOME environment variable is pointing to a proper java installation?"
fi
In my usr/lib/jvm folder I have many "java" version installed : java ; java1.8 ; java jre 1.8...
But none of them is linked to the usr/bin or bin folder...
How can I solve this question properly ?