aspose file tools*
The moose likes Java in General and the fly likes Executing Jython code line by line in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Executing Jython code line by line in Java" Watch "Executing Jython code line by line in Java" New topic
Author

Executing Jython code line by line in Java

Yazeed Fares
Greenhorn

Joined: Mar 01, 2007
Posts: 1
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?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Executing Jython code line by line in Java