To use rjava package for R(64-bit) version download and install Java SE Development Kit 8 for Windows x64 from here
Similarly for R (32-bit) version download and install Java SE Development Kit 8 for Windows x86 from here
To build or check R packages with multi-arch you need to install both Java For Windows x64 as well as Java for Windows x86. On Win 64, the former installs in C:\Program files\Java\ and the latter in C:\Program Files (x86)\Java\ so they do not conflict.
After completing the above process, install the binary package from CRAN. The binary package from CRAN automatically picks up on the jvm by itself