From: Sarwar R. <raz...@ya...> - 2001-02-12 19:30:56
|
Hello... I'm hoping someone has run into this. We have a bunch of third party jars that are required for our application to function. We set our effective classpath to a directory, and put all our jars in that directory. Here's what's happening: our jpython scripts import classes from these particular packages. for ex. foo.jar. In our script, we import * from com.bar.foo but the python interpreter cannot "find" the classes in question, though they are in the classpath. The only way we can make this work is to put these troublesome jars in /usr/java/JRE/lib/ext (or Program Files\Javasoft\JRE\1.3\lib\ext), in which case it resolves as needed. We really do not want to have to put stuff in JRE/lib/ext if we don't have to. We'd like to be able to run by just pointing Classpath to a directory with all the jars included. I imagine this will probably have something to do with changing the classpath that the jpython interp. refers to before starting up, 'cos these will likely need to be processed by the packagemanger on startup. Can anyone help? Thanks Sarwar ===== ************************* Sarwar S Raza NMS Software Engineer CommWorks Corporation http://www.wpi.edu/~sraza ************************* __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |