Hello,
I am currently bocked by downloading some packages in R due to the old java version(the same download works in Rstudio), please find below the details:
trying URL ‘https://cran.rstudio.com/src/contrib/RWeka_0.4-41.tar.gz’
Content type ‘application/x-gzip’ length 415855 bytes (406 KB)
downloaded 406 KB
- installing source package ‘RWekajars’ …
** package ‘RWekajars’ successfully unpacked and MD5 sums checked
./configure: 1: ./configure: /usr/lib/jvm/default-java/jre/bin/java: not found
./configure: 51: test: -ge: unexpected operator
./configure: 52: test: -eq: unexpected operator
Need at least Java version 8.
ERROR: configuration failed for package ‘RWekajars’ - removing ‘/home/petitfort/R/x86_64-pc-linux-gnu-library/3.4/RWekajars’
Warning in install.packages :
installation of package ‘RWekajars’ had non-zero exit status
ERROR: dependency ‘RWekajars’ is not available for package ‘RWeka’ - removing ‘/home/petitfort/R/x86_64-pc-linux-gnu-library/3.4/RWeka’
Warning in install.packages :
installation of package ‘RWeka’ had non-zero exit status