How to install rJava on QuickStart?

Hi there,

I am trying to install rJava into QuickStart and I keep running into issues. A quick google search reveals that I should install the JRE and JDK first

According to various SO posts, this command seems to be the key to install rJava

sudo R CMD javareconf

But I am still seeing the following error after I installed JRE and JDK, and javareconf

Interesting! Can you share the output of sudo R CMD javareconf?

I guess it also depends which version of R you're using... Because R is not on the PATH, if I remember correctly... Probably something like:

sudo /opt/R/3.5.1/bin/R CMD javareconf

That takes rJava further in the installation process. But now I see a different error:

I solved it using the following:

sudo apt-get install libbz2-dev

1 Like

Glad to hear!! Well done! I found the exact same answer at the same time :laughing: