From: Lieven De K. <lie...@ho...> - 2005-05-28 18:33:15
|
So I would need to put a property in like: preProperties.put("python.path", "/home/myhome/jython/Lib") >From: Jeff Emanuel <jem...@fr...> >To: Lieven De Keyzer <lie...@ho...> >CC: jyt...@li... >Subject: Re: [Jython-users] jython.jar in classpath >Date: Sat, 28 May 2005 12:03:25 -0600 > >If you don't have a registry file, then it doesn't >matter. The default sys.path is initialized from >the "python.path" property. > > >Lieven De Keyzer wrote: >>public static void initialize(java.util.Properties preProperties, >> java.util.Properties postProperties, >> java.lang.String[] argv) >> >>is sys.path supposed to be in the preProperties or the postProperties? >> >> >> >>>From: Jeff Emanuel <jem...@fr...> >>>To: Lieven De Keyzer <lie...@ho...> >>>CC: jyt...@li... >>>Subject: Re: [Jython-users] jython.jar in classpath >>>Date: Sat, 28 May 2005 11:40:08 -0600 >>> >>>Depending on what the python code calls, you probably need the >>>Lib directory installed and sys.path pointing to it. >>> >>>Lieven De Keyzer wrote: >>> >>>>I'm making a webapplication in Java. I want to execute a piece of Python >>>>code in a Java class. Is it ok if I just make sure the the jython.jar >>>>file is in my classpath, or do I really need to have jython installed to >>>>be able to execute python code? >>>> >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by Yahoo. >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >>>>Search APIs Find out how you can build Yahoo! directly into your own >>>>Applications - visit >>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >>>>_______________________________________________ >>>>Jython-users mailing list >>>>Jyt...@li... >>>>https://lists.sourceforge.net/lists/listinfo/jython-users >> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by Yahoo. >>Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >>Search APIs Find out how you can build Yahoo! directly into your own >>Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >>_______________________________________________ >>Jython-users mailing list >>Jyt...@li... >>https://lists.sourceforge.net/lists/listinfo/jython-users > > >------------------------------------------------------- >This SF.Net email is sponsored by Yahoo. >Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >Search APIs Find out how you can build Yahoo! directly into your own >Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users |