R和H2O初始化错误-未找到Java路径



我在R 4.0.3上安装了h2o3.2.0.4版本,当我启动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版本

System = Windows 10

需要64位JDK。

最新更新