On Wed, 28 May 2003 13:15:21 +0530, "Jiger Patel" <[EMAIL PROTECTED]> said: > Hi, > I am facing some problem vis-a-vis setting up Jython Engine to > recognise > jars in a dir. Actually other Engines namely Javascript, Beanshell seem > to > be working fine but Jython does not load classes from the Current CL but > rather picks up classes from the System ClassLoader. Now to hack it away, > I > am setting classpath directly into the SYS. CL so that Jython works fine. > Jython starts working fine, BUT Javascript seems to be having problems > and > gives me this error > java.lang.NoClassDefFoundError: org/mozilla/javascript/NativeScript > at java.lang.ClassLoader.defineClass0(Native Method)
Did you install JavaScript js.jar into lib/ext dir in the jdk distribution? If so, you should add it to your classpath as well. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
