Accessing static java methods in Python through jython
Question: I am currently trying to access a static class in java, within python. I
import as normal, then I try to get the class instance of the java class.

    
    
    from com.exmaple.util import Foo
    
    Foo. __class___.run_static_method()
    

This doesn't seem to work. suggestions? What am i doing wrong.


Answer: Try using

    
    
    Foo.run_static_method()
    

