title: how to import Java class with Python using Eclipse?
body: <p>I'm trying to write Jython where the Python file imports classes from Java
  I'm using Eclipse with PyDev.  </p>
  
  <p>My Python code looks like: </p>
  
  <pre><code>from eclipsejavatest import eclipseJavaTest
  from eclipsejavatest import JavaClass
  
  class eclipsePyPrint(eclipseJavaTest):
      def eclipsepyMain(self):
          print "python main method"
          eclipseJavaTest.printerCount(4)
          print eclipseJavaTest.gotoPython()
          eclipseJavaTest.printerSentence()
  
          samplepyClass = JavaClass("Jython plain")
          samplepyClass.setName("jython fancy")
          print samplepyClass.getName()
  </code></pre>
  
  <p>but I'm getting the error <code>ImportError: No module named eclipsejavatest</code></p>
  
  <p>The Python project references the Java project. I've tried exporting the Java project and adding the .jar to the Jython Class Path for the Python project. </p>
  
  <p>I'm not sure what to do to get this to work.  </p>