
Follow this procedure in full for each version of R that you are configuring. You can have multiple versions of the JDK on your server to support multiple versions of R. These actions require root privileges and should be performed by a server administrator. If you are unable to implement an alternative to rJava, these instructions describe how to configure R with Java support. These drivers are available for Workbench, RStudio Desktop Pro, and Connect. Posit offers ODBC connectors for many popular databases, which you can use as an alternative to connecting to a database via JDBC.


A system administrator should configure Java for each version of R installed on the servers supporting Workbench and Connect. These instructions should be robust to Java patches and updates, which can be a source of problems for R code depending on rJava. This article provides instructions on how to configure Java for use with R and the rJava package.
