In what follows, I listed the steps that solved for me the problem that the package rJava could not be loaded from within RStudio under Mac OS X El Capitan (version 10.11.2). Furthermore, some new security features in Mac OS X prevent that environment path settings are passed along to applications like RStudio. From what I understood, eventually, it is not a problem of rJava or R or RStudio in the first place, but newer versions of Mac OS X do not play well with the latest versions of Oracle’s Java (jdk).
Since I upgraded my Mac to OS X El Capitan (version 10.11.2) I am having problems with the R-package rJava. Problem With rJava On Mac OS X El Capitan