Author projectmoon
Recipients fwierzbicki, gschenke, projectmoon
Date 2010-04-05.22:40:27
SpamBayes Score 1.47903e-09
Marked as misclassified No
Message-id <>
I can confirm this as well on the release version of Jython 2.5.1. I tested it on both Ubuntu 8.04 and Mac OS X Snow Leopard. The results were the same. After searching around on Google for similar problems, I found some workarounds. However, none of them worked. After delving into the Jython source code, I found sort of a ghetto workaround.

By calling PySystemState.add_extdir(String), you can put jars into Jython at runtime, and import statements should work as per the norm. Of course, the trick is getting the directory with your jars into your program. In my case I wound up passing an environment variable. You could conceivably also pass Java a -Dproperty, or hard code it.
Date User Action Args
2010-04-05 22:40:28projectmoonsetmessageid: <>
2010-04-05 22:40:28projectmoonsetrecipients: + projectmoon, fwierzbicki, gschenke
2010-04-05 22:40:28projectmoonlinkissue1422 messages
2010-04-05 22:40:27projectmooncreate