无法运行H2o功能 [英] Not Able to Run H2o Function

查看:434
本文介绍了无法运行H2o功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够在R中很好地安装h2o,但是在运行h2o.init()时出现以下错误

I was able to install h2o fine (in R) but get the following error when I run h2o.init()

h2o.init()

h2o.init()

H2O尚未运行,请立即启动... 值错误[3L]: 您有Java的32位版本. H2O与64位Java配合使用效果最佳. 请从以下URL下载最新的Java SE JDK 7: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

H2O is not running yet, starting it now... Error in value[3L] : You have a 32-bit version of Java. H2O works best with 64-bit Java. Please download the latest Java SE JDK 7 from the following URL: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

我将Java SE JDK版本更新为7(并获得了64位),但仍收到此错误.为什么会这样?

I updated java SE JDK version to 7 (and got the 64 bit) and am still receiving this error. Why is this?

推荐答案

该问题同时具有32位和64位Java,然后H2O启动时,它仍然使用32位Java.

The problem you have both 32 and 64 bit of Java and then when H2O starts, it still use 32bit Java.

第一个解决方案是删除32位Java,因此只有64位Java,您可以使用.

First solution is to remove 32bit java so only 64bit Java is there and you are good to go.

如果必须同时保留32位和64位Java,则需要设置指向64位Java路径的JAVA_HOME环境变量,然后启动H2O.这样,H2O将启动64位Java运行时,您将不会看到问题.

If you have to keep both 32 and 64 bit Java then you would need to setup JAVA_HOME environment variable pointing to your 64bit Java path and then start H2O. This way H2O will get 64bit Java runtime to start and you will not see the problem.

设置JAVA_HOME时,请进行正确的设置,它指向64位Java.

When you set JAVA_HOME make sue you set it correctly and it is pointing to 64bit Java.

这篇关于无法运行H2o功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆