• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing Jython code line by line in Java

 
Yazeed Fares
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I am trying to execute the following Jython code (each line alone) using Java:


Here is my java code:



My problem is the code trows this exception at Jython line #2, I am not sure what is happening.

Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<string>', 2, 1, ''))

can somebody help me?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic