It's been reported that the JAVA_HOME isn't necessarelly located at the pre-configured location in the karaf.sh.