有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

未找到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) 个答案