From: <Dou...@gr...> - 2002-02-15 16:18:36
|
I've written a Java app that uses Jython to perform pattern matching with the 're' module. I guess that I didn't read the fine print because I was under the impression that all that I needed to make use of Jython was to ensure that jython.jar in my classpath. It appears to me now that I need to have Jython "installed" on any machine that will run my app. Is there a deployment shortcut that I'm missing here? What is the bare minimum that needs to be on a machine to call an embedded interpreter from Java code? This is the console error that I get when I point to the jython.jar file living someplace else other than Jython home. Exception in thread "main" Traceback (innermost last): File "<string>", line 1, in ? ImportError: no module named re I also noticed in the jython\lib directory that there are a number of class files that seem to have compiled that might pertain to the Jython calls that I have made. If they are related can I simply jar them up and deploy them - problem solved? Thanks for the help in advance. Doug |