Subj : NoClassDefFoundError while compiling To : netscape.public.mozilla.jseng From : wl Date : Sun Dec 19 2004 11:17 am Dear, I tried to compile the demo test.js file to a Java class file. The test.js contains: java.lang.System.out.println("hello world"); And I try to compile it with: java org.mozilla.javascript.tools.jsc.Main test.js Having the following in the classpath: claspath=c:\j2sdk1.4.2_06\lib;c:\rhino1_6R1\js.jar What I get when executing the command is: Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascrip t/tools/jsc/Main What am I doing wrong ? Thanks, Wim .