From: Robert W. B. <rb...@di...> - 2001-09-22 22:18:00
|
Hello Nagar, Try compiling with: jythonc --all --jar test.jar test.py Then add test.jar to the applet tag. -rb On Sat, 22 Sep 2001, rupesh nagar wrote: > hi, > I am a newie to jython and have made a applet. I compiled and got .class > and .java files. I can see the applet using 'jython test.py' > in an AWT tester, however when I try to see it in appletviewer it > gives me the following message > ********************************************************** > java.lang.NoClassDefFoundError: org/python/core/PyProxy > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1 > 1) > at > sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:142) > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > at > sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:366) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:579) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:515) > at sun.applet.AppletPanel.run(AppletPanel.java:293) > at java.lang.Thread.run(Thread.java:484) > ********************************************************* > > Please let me know where am I wrong. > > thanks, > Nagar > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |