title: javabridge.jutil.JVMNotFoundError: Can't find the Java Virtual Machine
body: <p>I want to use Weka in my python code, so I install java-wrapper python(2.7.16 ) according to <a href="https://fracpete.github.io/python-weka-wrapper/install.html" rel="nofollow noreferrer">https://fracpete.github.io/python-weka-wrapper/install.html</a> and my java version is:
  java version "1.8.0_201"
  Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
  Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)</p>
  
  <p>Also, I added the JDK path to  user variable PATH according to <a href="https://troubleshooter.xyz/wiki/fix-java-virtual-machine-jvm-not-found-error/" rel="nofollow noreferrer">https://troubleshooter.xyz/wiki/fix-java-virtual-machine-jvm-not-found-error/</a></p>
  
  <p>but it raise error:</p>
  
  <pre><code>   &gt;&gt;&gt;import os
     &gt;&gt;&gt;import traceback
     &gt;&gt;&gt;import weka.core.jvm as jvm
     Traceback (most recent call last):
     File "&lt;stdin&gt;", line 1, in &lt;module&gt;
     File "C:\Python27\lib\site-packages\weka\core\jvm.py", line 17, in 
     &lt;module&gt;
      import javabridge
     File "C:\Python27\lib\site-packages\javabridge\__init__.py", line 38, in 
      &lt;module&gt;
      from .jutil import start_vm, kill_vm, vm, activate_awt, deactivate_awt
      File "C:\Python27\lib\site-packages\javabridge\jutil.py", line 151, in 
      &lt;module&gt;
      os.pathsep + os.path.join(find_javahome(), "bin")
      File "C:\Python27\lib\site-packages\javabridge\jutil.py", line 139, in 
      _find_jvm
      raise JVMNotFoundError()
      javabridge.jutil.JVMNotFoundError: Can't find the Java Virtual Machine
  </code></pre>