简体   繁体   English

在 R 中使用 h2o.init() 时出错 - Java 相关

[英]Error while using h2o.init() in R - Java related

I am getting this error while initializing h2o初始化 h2o 时出现此错误

h2o.init() H2O is not running yet, starting it now... h2o.init() H2O 还没有运行,现在启动它...

Error in .h2o.startJar(ip = ip, port = port, name = name, nthreads = nthreads,  : 
  Your java is not supported: java version "1.7.0_80"
Please download the latest Java SE JDK from the following URL:
https://www.oracle.com/technetwork/java/javase/downloads/index.html

I have tried installing latest version of Java, but still the problem persists.我已经尝试安装最新版本的 Java,但问题仍然存在。 Kindly help.请帮忙。

From error it clearly saying " Your java is not supported: java version "1.7.0_80""从错误中它清楚地表明“您的 java 不受支持: java 版本“1.7.0_80””

Install new version of java from oracle site ex: java 8从 oracle 站点安装新版本的 java,例如:java 8

then set that jre path from PATH and CLASSPATH然后从PATH 和 CLASSPATH设置该 jre 路径

Windows 7: Windows 7的:
1. From the desktop, right click the Computer icon. 1. 在桌面上,右键单击计算机图标。
2. Choose Properties from the context menu. 2. 从上下文菜单中选择属性。
3. Click the Advanced system settings link. 3. 单击高级系统设置链接。
4. Click Environment Variables. 4. 单击环境变量。 In the section System Variables, find the PATH environment variable and select it.在 System Variables 部分,找到 PATH 环境变量并选择它。 Click Edit.单击编辑。 If the PATH environment variable does not exist, click New.如果 PATH 环境变量不存在,请单击新建。
5. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. 5. 在 Edit System Variable(或 New System Variable)窗口中,指定 PATH 环境变量的值。 Click OK.单击确定。 Close all remaining windows by clicking OK.单击确定关闭所有剩余的窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM