R 安装 rJava

错误提示
configure: error: Java Development Kit (JDK) is missing or not registered in RMake sure R is configured with full Java support (including JDK).

解决:
sudo apt install openjdk-11-jdk

sudo R CMD javareconf JAVAC=/usr/lib/jvm/java-11-openjdk-amd64/bin/javac JAR=/usr/lib/jvm/java-11-openjdk-amd64/bin/jar


sudo R CMD javareconf JAVAC=/usr/lib/jvm/java-11-oracle/bin/javac JAR=/usr/lib/jvm/java-11-oracle/bin/jar JAVA_HOME=/usr/lib/jvm/java-11-oracle//bin/jar

评论

此博客中的热门博文

V2ray websocket(ws)+tls+nginx分流

Rstudio 使用代理