未找到R和H2O初始化Java路径中的错误
我在R 4.0.3
上安装了3.2.0.4
版本的h2o
,当我启动h2o
时,我收到错误消息:
simpleError in system2 (command, "-version", stdout = TRUE, stderr = TRUE): '"C: \ Program Files \ Java \ jre1.8.0_261 \ bin \ java.exe "'not found>
Error in value [[3L]] (cond):
You have a 32-bit version of Java. H2O works best with 64-bit Java.
Please download the latest Java SE JDK from the following URL:
https://www.oracle.com/technetwork/java/javase/downloads/index.html
In addition: Warning message:
In normalizePath (path.expand (path), winslash, mustWork):
path [1] = "C: \ Program Files \ Java \ jre1.8.0_261 / bin / java.exe": The system cannot find the path specified
事实证明,安装的java版本是64位的。没有安装其他版本32
系统=Windows 10
# 1 楼答案
需要64位JDK。见requirements