title: rJava no running JVM found error- .jinit() also not working
body: <p>I have installed rJava on my laptop with 64 bit windows 7 OS. When I try to run this sample thingy from the rJava documentation, it gives the following error:</p>
  
  <pre><code>library(rJava)
  
  Double &lt;- J("java.lang.Double")
  
  Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl,  : 
    No running JVM detected. Maybe .jinit() would help.
  Error in .jfindClass(as.character(class)) : 
    No running JVM detected. Maybe .jinit() would help.
  </code></pre>
  
  <p>As suggested by the error message above, I tried .jinit() but that thing takes forever to load. </p>
  
  <p>I also checked if my Java was 64 bit using cmd, and it says I have 64 bit Java.</p>
  
  <pre><code>C:\Users\516221&gt;java -version
  
  java version "1.8.0_25"
  Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
  Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
  </code></pre>
  
  <p>What might be the reason? I have the jvm.dll file into my classpath as well.</p>
  
  <p>I also have the JDK installed.</p>
  
  <pre><code>C:\Users\516221&gt;javac -version
  javac 1.8.0_25
  </code></pre>