Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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?

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