R Session Disconnected error when running .jinit()

I am using Java to connect to an Oracle SQL database in my R script and whenever I run the .jinit() command to initialize the Java virtual machine, I get the following error:

R Session Disconnected
This browser was disconnected from the R session because another browser connected (only one browser at a time may be connected to an RStudio session). You may reconnect using the button below

Then R restarts, and I am unable to run the rest of the script. I have tried uninstalling and reinstalling R, RStudio, and Java. I have deleted all of the App Data. Nothing worked.
Any help would be deeply appreciated!!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.