From: <an...@gm...> - 2007-08-31 05:27:58
|
Hi, I'm very happy to see Jython progressing again. I just downloaded the newest version and run the installer in standalone mode (Windows). I'm currently working on a script which supports us in our database patching procedure. My problem is, I don't get any jar file recognized by Jython. I have a dir 'lib' which contains jython.jar and hsqldb.jar - if I call my script it just doesn't seem to recognize that there are other jars on the classpath. What is the correct way to make jython happy? I also tried to use a different jar, but it doesn't seem to work either. My attempts so far have been like this: * java -classpath lib\hsqldb.jar;. -jar lib\jython.jar myscript.py * java -cp lib\hsqldb.jar;. -jar lib\jython.jar myscript.py * setting jar in CLASSPATH environment variable * adding jar via sys.path.append() if I understand it correctly all things on my class path must be also appear in sys.path? In my case they don't. How can I find out what actually is on my classpath (sys.path?)? Best regards Jürgen |