title: FileNotFoundError: [WinError 2] The system cannot find the file specified for python & java integration
body: <p>I'm trying to execute .java file using my python 3.5. I wrote following code</p>
  
  <pre><code>import os
  path='Location of my .java file'
  os.chdir(path)
  import os.path, subprocess
  from subprocess import STDOUT, PIPE
  
  def compile_java (java_file):
      subprocess.check_call(['javac', java_file])
  
  def execute_java (java_file):
      cmd=['java', java_file]
      proc=subprocess.Popen(cmd, stdout = PIPE, stderr = STDOUT)
      input = subprocess.Popen(cmd, stdin = PIPE)
      print(proc.stdout.read())
  
  compile_java("Hello.java")
  execute_java("Hello")
  </code></pre>
  
  <p>But while executing the code, I'm getting error message as <code>FileNotFoundError: [WinError 2] The system cannot find the file specified</code></p>
  
  <p>Can you please help me to solve the issue?</p>