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
Enregistrer un commentaire