jython and java application
keith at nekotaku.com
Thu Nov 26 02:30:19 CET 2009
Apologies if this is on the wrong group, this is a jython question.
Please redirect me to the correct group if this is in error.
I have a java application that takes no arguements. When I run it, it
spits out output, and finishes.
I am trying to run this java application from jython 2.5.1, JRE6.
I have made simple "Hello World" java classes be callable from a
simple jython script, yet I am stumbling on the java main construct in
print krbtest.SimpleHistoricTutorial().main() obviously gives me an
args error (expected 1, got 0) as the definition in the java
public static void main(String args)
The jython code is as follows:
# was messing with this to pass a java formatted string but to no
from java.lang import String
Any advice greatly appreciated! Especially with how to call "main()"
with arguments from jython.
Apologies in advance again if this is the wrong group.
More information about the Python-list