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
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?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Executing Jython code line by line in Java
 
Similar Threads
JList item Doble click
parsing XML in java
Can not Populate the form on combo box change
displaying list items in struts
MultiDimenaional Array sort