When I tried to run the R console in Eclipse, I got this error:
....Please make sure that R package \'rj\' (1.1 or compatible) is installed...
Years later, I ended up on this question after searching for an error reported by R after I had unsuccessfully installed a package on that required shifting to Oracle's Java.
All I had to do to fix it was:
$ sudo R CMD javareconf