Issues installing {rJava} from source on Ubuntu? Check your java/javac versions: $ java -version openjdk version "1.8.0_312" $ javac -version javac 11.0.15 These should be the same. The fix is: $ sudo update-alternatives --config java # pick "auto" $ R CMD javareconf #RStats
1
7
13
Replying to @henrikbengtsson
What is wrong with a) sudo apt install r-cran-rjava (easiest) b) sudo apt-get build-dep r-cran-rjava (in case you still insist on source) as it is entirely possibly to satisfy Java needs with distro packages. Also see stackoverflow.com/a/3325468/…

Jun 26, 2022 · 5:11 PM UTC

1
1
Replying to @eddelbuettel
It works for lots of people, but not for everyone/all setups. If you're interested in some arguments, I'm happy do discuss later (think July-Aug). Too busy right now
1