• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

import with Jython

 
Kevin Fonner
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a java class file that is being called by another java program. I want this class file to be able to run jython scripts. The problem I am running into is that my class file is able to import certain libraries from this other program that jython can't seem to see. When I initialize the PythonInterpreter I tried passing the System.getProperties into the preProperties on Initialization to see if that would set the class path's and everything the same as my class file which can see everything.
Any ideas what I'm over looking...
Thanks,
Kevin
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kevin, it's good to see another Jython post. Sorry can't answer that one yet. Have you also tried the discussion group on www.jython.org? If its urgent, then I just feel that you may get a quicker response there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic