This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

import with Jython  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!