title: Using RSelenium: Java not found
body: <p>I'm trying to execute code on <strong>R</strong> with the package <strong>RSelenium</strong> to do some webscraping, but I'm blocked at the very first step. After loading the library, I try to run this line of code: </p>
  
  <pre><code>rmDr &lt;- rsDriver(browser = "chrome", chromever = 'latest')
  </code></pre>
  
  <p>But the console returns : </p>
  
  <blockquote>
    <p>Error in java_check() :
            PATH to JAVA not found. Please check JAVA is installed.</p>
  </blockquote>
  
  <p>Java is indeed installed on my computer, but I'm guessing the path isn't the one the package is waiting for. Does someone know where I could modify the path in the RSelenium package code so that I can run this?
  To be noted, I'm working on a company computer and so I don't have every admin rights.</p>
  
  <p>Thanks for your help!  </p>