PredictionIO的新手,在CentOS 7上安装,错误:未设置JAVA_HOME

时间:2019-03-22 07:39:19

标签: predictionio

我正在尝试通过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

我应该检查什么?还是我错过了什么?

0 个答案:

没有答案