This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
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