Update rJava in Ubuntu

 First, I have been forced to delete all old installations of open-jdk:

sudo apt-get purge openjdk-\*

sudo apt autoremove


It can be necessary to do:

sudo rm -rf /usr/lib/jvm

Install most recent version for Ubuntu 22.04

sudo apt install openjdk-21-jdk

Then update the variables using:

sudo R CMD javareconf

And the update of rJava was installing

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Multivariable analysis and correlation of iconography