From: James C. <ji...@mi...> - 2004-12-09 12:51:51
|
Hello, =20 =20 I'm using Jython2.1 on Java 1.5 and am having trouble: =20 >>> import mbf.geometry as g >>> v =3D g.Vertex3f() Traceback (innermost last): File "<console>", line 1, in ? AttributeError: java package 'mbf.geometry' has no attribute 'Vertex3f' >>> dir (g) ['CoordinateMapper', 'ImagePos2I', 'ScreenPos2I', 'Transformable', 'Vertex3f', '__name__'] >>>=20 =20 I see that the Vertex3f class is in my package, but I can't instantiate it. =20 I have my jar (with the full path) on my jython path. I don't have any python.jythonc.classpath set in my registry. I am using JEdit's "Edit Jython Path" feature to make my .jar available. =20 Do I also have to have the .jar in the CLASSPATH? =20 Thanks, -Jim |