title: Python call Java causes Error: Could not find or load main class
body: <p>I am having issues to use the java program <a href="https://github.com/antonydeepak/ResumeParser/" rel="nofollow noreferrer">https://github.com/antonydeepak/ResumeParser/</a> in Django project in a localserver in MAC OS.</p>
  
  <p>I have installed ResumeParser in the Django Project like:</p>
  
  <p>-- Django Project
      -- app1
      -- app2
      -- ResumerParser</p>
  
  <p>Here is my code but it says "Could not find or load main class".</p>
  
  <pre><code>if form.is_valid():
      f = form.save(commit=False)
  
      resume = form.cleaned_data['resume']
  
      cmd = ['java', '-cp', 'bin/:../GATEFiles/lib/:../GATEFiles/bin/gate.jar:lib/*', 'code4goal.antony.resumeparser.ResumeParserProgram %s textOutput.json' % resume]
  
      subprocess.Popen(cmd)
  </code></pre>
  
  <p>Any clues of how to solve this? I've tried every post related to this theme in StackOverflow no success.</p>
  
  <p>Thanks in advance</p>