title: run "sudo R CMD javareconf" get "Cannot find any Java interpreter"
body: <p>I tried to install a plugin for eclipse,but get an error,after some googling,got a suggestion to run
  :sudo R CMD javareconf,but got this error:</p>
  
  <pre><code>*** Cannot find any Java interpreter
  *** Please make sure 'java' is on your PATH or set JAVA_HOME correspondingly
  </code></pre>
  
  <p>By the way,my $JAVA_HOME points to a oracle-jdk-7</p>