我无法让h2o在我的R中工作。它显示了以下错误。不知道这意味着什么。以前它给了我一个错误,因为我没有Java 64位版本。我下载了64位-重新启动了我的电脑-并再次启动了这个过程,现在它给了我这个错误。
有什么建议吗?
> library(h2o)
>h2o.init()
`H2O is not running yet, starting it now.`..
Note: In case of errors look at the following log files:
C:UsersE0475878AppDataLocalTempRtmpieqnRc/h2o_E0475878_started_from_r.out
C:UsersE0475878AppDataLocalTempRtmpieqnRc/h2o_E0475878_started_from_r.err
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Starting H2O JVM and connecting: ............................................................
[1] "localhost"
[1] 54321
[1] TRUE
[1] -1
**[1] "Failed to connect to localhost port 54321: Connection refused"**
[1] 127
**
Error in h2o.init(ip = "localhost", port = 54321) :
H2O failed to start, stopping execution.
In addition: Warning message:
running command 'curl 'http://localhost:54321'' had status 127
**
请告知
java版本"1.6.0_26";
Java(TM(SE运行时环境(内部版本1.6.0_26-b03(
H2O需要Java 7或更高版本(此处注明(。您使用的是Java 6。您需要升级Java。如果可以,请卸载Java 6并安装Java 7或8。