Message8453

Author emcdowell
Recipients emcdowell
Date 2014-05-20.19:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400615676.36.0.643112965199.issue2151@psf.upfronthosting.co.za>
In-reply-to
Content
This problem is resolved using the full standalone jar: jython-standalone-2.7-b2.jar.  The required codecs are apparently among the files omitted from the smaller archive.

Examples: jython27b2.jar is the complete standalone jar mentioned above.

H:\user\down>java -jar jython27b2.jar
Jython 2.7b2 (default:a5bc0032cf79+, Apr 22 2014, 21:20:17)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.8.0_05
Type "help", "copyright", "credits" or "license" for more information.
>>> 2 +
  File "<stdin>", line 1
    2 +
      ^
SyntaxError: no viable alternative at input '\n'
>>> 2 + 5
7
>>> def foo(n): return n + 1
...
>>> foo(4)
5
>>> line = raw_input('? ')
? 67
>>> line
'67'
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> →


H:\user\down>
History
Date User Action Args
2014-05-20 19:54:36emcdowellsetmessageid: <1400615676.36.0.643112965199.issue2151@psf.upfronthosting.co.za>
2014-05-20 19:54:36emcdowellsetrecipients: + emcdowell
2014-05-20 19:54:36emcdowelllinkissue2151 messages
2014-05-20 19:54:35emcdowellcreate