Error while using h2o.init() in R

删除回忆录丶 提交于 2019-12-11 01:13:09

问题


I get the following error whenever I use h2o.init():

localh2o<-h2o.init()

H2O is not running yet, starting it now...
Error in system2(command, "-version", stdout = TRUE, stderr = TRUE) :
'""' not found
In addition: Warning message:
In .h2o.checkJava() :
Found JRE at C:/Program Files (x86)/Java/jre7/bin/java.exe but H2O requires the JDK to run

I am running it on RStudio Version 0.99.473 and R version 3.2.2, 64 bit os


回答1:


The error message is pretty self-explanatory:

Found JRE at C:/Program Files (x86)/Java/jre7/bin/java.exe but H2O requires the JDK to run

You need to install the JDK and point the JAVA_HOME environment variable to the JDK directory (the parent of the bin directory), if it isn't automatically done by the installer.



来源:https://stackoverflow.com/questions/32896008/error-while-using-h2o-init-in-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!