title: Is Jython 2.5.1 incompatible with Python 2.7?
body: <p>I'm trying to do some pretty simple stuff in Jython within Java. My Python path, and by exension, my Jython path, is set to the following:</p>
  
  <pre><code>$ python -c "import sys ; ':'.join(sys.path)"
  :/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/ubuntuone-client:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel:/usr/lib/python2.7/dist-packages/ubuntuone-couch:/usr/lib/python2.7/dist-packages/ubuntuone-installer:/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol:/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode
  </code></pre>
  
  <p>(An easier to read list can be found <a href="http://paste.ubuntu.com/806368/" rel="nofollow">here</a>.)</p>
  
  <p>I've set my Jython path by defining <code>-Dpython.path=":/usr/lib/python2.7:..."</code>, and it's working fairly well.</p>
  
  <p>I'm experiencing issues, however, whenever I try to do anything significant, like import the <code>os</code> module:</p>
  
  <pre><code>&gt;&gt;&gt; import os
  Exception in thread "main" Traceback (most recent call last):
      File "&lt;iostream&gt;", line 2, in &lt;module&gt;
  SyntaxError: ('no viable alternative at input \'""\'', ('/usr/lib/python2.7/os.py', 754, 18, '            bs = b""\n'))
  </code></pre>
  
  <p>What's going wrong here? Is Jython incompatible with Python 2.7? What can I do to get things working? </p>