Sorry to top post, but this seems more to do with setting up the Eclipse environment.  I'm going to assume you're using PyDev.  There are a few things you need to do in order to get the Python/Jython Nature added to your Java Project.  In summary, you should do:

1. Create your Java project with the proper classes, interfaces, etc.
2. Create your Jython project with all the proper classes, etc.
3. Add a project reference in your Jython project to the Java project.
4. Add the Python/Jython nature to your project.
    a. Right click the Java project in the package explorer.
    b. In the PyDev context menu, select Set as PyDev Project.
    c. This adds the Python nature to the project.
5. Highlight the converted Java project again and goto properties.
6. In PyDev - PYTHONPATH, add source folders.
7. Expand until you see the bin directory. 
8. Select the bin directory, not the src directory.  You should only use the directory that contains your class files.
9. Click ok and your environment should be setup.

This link explains it in more detail for PyDev:

JyDT is also available, I'm not so sure how well maintained it is:

Hope this helps.

on Sat, Nov 12, 2011 at 3:57 AM, Philipp Zech <> wrote:
On 11/11/2011 03:22 PM, Pierre Thibault wrote:
2011/11/11 Philipp Zech <>
Hej Eric,

thanks a lot for your efforts, it's working now! You definitely saved me a lot of time.



Hello Philipp,

I've you tried my solution? I really like to know how to make that call. I think this is valuable information so if you can try...


Pierre Thibault

Python Developer/Développeur Python
Montréal, QC

RSA(R) Conference 2012
Save $700 by Nov 18
Register now

Jython-users mailing list
Hi Pierre,

I've tried your suggestion, but it didn't work, seems that __call__ cannot be invoked with that number of arguments. Yet, it still played around a little bit, also be completely removing the package structure, still I didn't get it to work. Personally, I think it's due to some path problems, as the python class cannot find the Java interface.