From: Jeff Clement <jclement@bl...> - 2002-04-28 16:04:05
I've been tinkering with Jython a bit and am quite interested. I can
see quite a few future projects where this will be coming in handy. I
am running into one snag though and it's probably just something stupid
I am trying to build a simple hello world program and compile to a
standalone jar file. My source looks like so:
import java.lang as lang
print "Hello world"
and I am compiling with:
jythonc --core --deep --jar Hello.jar Hello.py
However, when I go to run it I am seeing:
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
This leads me to believe that Jython isn't recognizing my Hello class.
Am I doing something wrong. Shoudl I not be subclassing Object?