我正在尝试通过this中的以下命令在CentOS 7上安装PredictionIO:
我遇到了以下问题:
[ec2-user@ip-10-0-0-12 bin]$ sudo sh pio-start-all
Starting Elasticsearch...
Starting HBase...
+======================================================================+
| Error: JAVA_HOME is not set |
+----------------------------------------------------------------------+
| Please download the latest Sun JDK from the Sun Java web site |
| > http://www.oracle.com/technetwork/java/javase/downloads |
| |
| HBase requires Java 1.7 or later. |
+======================================================================+
Waiting 10 seconds for Storage Repositories to fully initialize...
但是我已经设置了JAVA_HOME:
[ec2-user@ip-10-0-0-12 bin]$ echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64
我应该检查什么?还是我错过了什么?