Content-Type: multipart/alternative; boundary="------------010106050909070401040708" --------------010106050909070401040708 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Josh: I am using Kepler (www.kepler-project.org) which is a Java-based workflow framework. Kepler has integrated an older version of the Jython interpreter into Kepler, and that is how they execute Python code within Kepler actors. I was concerned about the Jython 2.2 interpreter that was distributed with Kepler version 2.2 and wanted to upgrade the Jython interpreter to 2.5.2. When I discussed this on the kepler-users SourceForge group, the response was this: Hi Marc, My notes about Kepler/Ptolemy and Python are at https://kepler-project.org/developers/reference/python-and-kepler I don't know of anyone who has integrated Jython 2.5.2 into Kepler. The problem is that Jython changed in an incompatible way, Jython 2.2 had org.python.core.PyJavaInstance, Jython 2.5.2 does not have that class, try searching the web for PyJavaInstance. _Christopher I have found the PyJavaInstance in the org.python.core package. What are your thoughts on this response? Kind regards, Marc J. Marc Edwards Lead Architect - Semiconductor Design Portals Nimbis Services, Inc. Skype: (919) 747-3775 Cell: (919) 345-1021 Fax: (919) 882-8602 marc.edwards@nimbisservices.com www.nimbisservices.com On 11/04/2011 02:42 PM, Josh Juneau wrote: > Marc- > > I've had to do similar tricks with PyCharm and Netbeans. I believe > that the IDE has its own set of paths, and it does not use the paths > set up by the operating system, etc. Sometimes setting paths up > within an IDE can be tricky! > > Sorry I do not have any specific answers for your question. > > > Josh Juneau > juneau001@gmail.com > http://jj-blogger.blogspot.com > http://www.jythonbook.com > Oracle PL/SQL Recipes - http://www.apress.com/9781430232070 > > > > > On Fri, Nov 4, 2011 at 12:51 PM, J. Marc Edwards > > wrote: > > All: > > I did resolve my import of the org.python.core package, by finding > a posting to add the jython.jar file to my External Libraries path. > > But why?? > > As part of the Eclipse PyDev set up, I had to set up the Jython > 2.5.2 which clearly points to the jython.jar file. > > Can someone help me understand the foundation upon which I need to > specify this jython.jar in both the interpreter AND the external > libraries? > > Kind regards, Marc > -- > > J. Marc Edwards > Lead Architect - Semiconductor Design Portals > Nimbis Services, Inc. > Skype: (919) 747-3775 > Cell: (919) 345-1021 > Fax: (919) 882-8602 > marc.edwards@nimbisservices.com > > www.nimbisservices.com > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Jython-users mailing list > Jython-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jython-users > > --------------010106050909070401040708 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Josh:

I am using Kepler (www.kepler-project.org) which is a Java-based workflow framework.  Kepler has integrated an older version of the Jython interpreter into Kepler, and that is how they execute Python code within Kepler actors.

I was concerned about the Jython 2.2 interpreter that was distributed with Kepler version 2.2 and wanted to upgrade the Jython interpreter to 2.5.2.

When I discussed this on the kepler-users SourceForge group, the response was this:

Hi Marc,
My notes about Kepler/Ptolemy and Python are at
https://kepler-project.org/developers/reference/python-and-kepler

I don't know of anyone who has integrated Jython 2.5.2 into Kepler.  The 
problem is that Jython changed in an incompatible way,
Jython 2.2 had org.python.core.PyJavaInstance, Jython 2.5.2 does not 
have that class, try searching the web for PyJavaInstance.

_Christopher
I have found the PyJavaInstance in the org.python.core package.

What are your thoughts on this response?

Kind regards, Marc

J. Marc Edwards
Lead Architect - Semiconductor Design Portals

Nimbis Services, Inc.
Skype: (919) 747-3775
Cell:  (919) 345-1021
Fax:   (919) 882-8602

marc.edwards@nimbisservices.com
www.nimbisservices.com


On 11/04/2011 02:42 PM, Josh Juneau wrote:
Marc-

I've had to do similar tricks with PyCharm and Netbeans.  I believe that the IDE has its own set of paths, and it does not use the paths set up by the operating system, etc.  Sometimes setting paths up within an IDE can be tricky!

Sorry I do not have any specific answers for your question.


Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
http://www.jythonbook.com
Oracle PL/SQL Recipes - http://www.apress.com/9781430232070




On Fri, Nov 4, 2011 at 12:51 PM, J. Marc Edwards <marc.edwards@nimbisservices.com> wrote:
All:

I did resolve my import of the org.python.core package, by finding a posting to add the jython.jar file to my External Libraries path.

But why??

As part of the Eclipse PyDev set up, I had to set up the Jython 2.5.2 which clearly points to the jython.jar file.

Can someone help me understand the foundation upon which I need to specify this jython.jar in both the interpreter AND the external libraries?

Kind regards, Marc
--

J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell:  (919) 345-1021
Fax:   (919) 882-8602
marc.edwards@nimbisservices.com
www.nimbisservices.com


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users


--------------010106050909070401040708--