Message3980

Author fabioz
Recipients fabioz
Date 2008-12-29.11:57:11
SpamBayes Score 7.687168e-09
Marked as misclassified No
Message-id <1230551831.97.0.0586252173477.issue1214@psf.upfronthosting.co.za>
In-reply-to
Content
On Jython 2.1 (where it works):

[W:\org.python.pydev\PySrc]java -classpath d:\bin\jython-2.1\jython.jar
org.python.util.jython -i
Jython 2.1 on java1.6.0_06 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import os
>>> import sys
>>> print sys.path
['', 'W:\\org.python.pydev\\PySrc\\.', 'd:\\bin\\jython-2.1\\Lib',
'd:\\bin\\jython-2.1']



On Jython 2.5b0 (where it doesn't work):
java -Dpython.cachedir=d:\temp -classpath
d:\bin\jython2.5b0\jython-complete.jar org.python.util.jython -i
Jython 2.5b0 (trunk:5540, Oct 31 2008, 13:55:41)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_06
>>> import os
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named os
>>> import sys
>>> print sys.path
['', 'D:\\bin\\jython2.5b0\\jython-complete.jar\\Lib', '__classpath__']

And it should be the same as the one in Jython 2.1 (1st the current
directory, then the \Lib where the .jar is contained and then the
directory of the jar)
History
Date User Action Args
2008-12-29 11:57:12fabiozsetrecipients: + fabioz
2008-12-29 11:57:11fabiozsetmessageid: <1230551831.97.0.0586252173477.issue1214@psf.upfronthosting.co.za>
2008-12-29 11:57:11fabiozlinkissue1214 messages
2008-12-29 11:57:11fabiozcreate