I am working on ubuntu 7.10 and using IntellijIdea as my IDE and I am working with adding the jython.jar to my project class path . I have not added an entry to the PATH variable in .bashrc file. Following is what I got when I added these two lines to my code
        interp.exec("import sys");
        interp.exec("print sys.path");

['/home/heshan/Installations/jython_installer-2.2.1/Lib', '__classpath__']
    
  

On Tue, Mar 25, 2008 at 8:33 PM, David Handy <David.Handy@sas.com> wrote:

The Java code that you posted earlier did an "execfile" on test1.py, but I didn't see where it put test1.py on the Python path. Add code to import sys and print sys.path, that will help.