Andy Piper writes: > I get the same thing. I gave up on the compiler server. > > andy >
I just downloaded and installed the native Windows version of XEmacs 21.4.10 and ran the version of the compile server that comes with XEmacs 21.4.10 (i.e., JDEE 2.2.9beta12). The compile server works fine for me for both JDK 1.3.1 and 1.4.0. I am running Windows Millenium. There must be something wrong with your setup. Please check to ensure that the JDK's tools.jar file is included in the beanshell's classpath. (The tools.jar file contains the compiler classes.) - Paul > > -----Original Message----- 2 > > From: Kevin Zou [mailto:kzou@;tps-software.com] > > Sent: Tuesday, October 29, 2002 11:31 AM > > To: '[EMAIL PROTECTED]' > > Subject: ClasspathNotFoundException when use javac server optio 21n > > > > > > jdk1.3.1, jdee2.2.9beta12. > > > > "javac" compiler option works fine. When use "javac server" > > compiler option, > > I get exception as following. > > > > > > java.lang.ClassNotFoundException: com.sun.tools.javac.Main > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:120) > > at jde.util.CompileServer.<clinit>(CompileServer.java:46) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:120) > > at bsh.BshClassManager.plainClassForName(BshClassManager.java:143) > > at > > bsh.classpath.ClassManagerImpl.getClassForName(ClassManagerImpl.java:165) > > at bsh.BshClassManager.classForName(BshClassManager.java:123) > > at bsh.NameSpace.classForName(NameSpace.java:622) > > at bsh.NameSpace.getClassImpl(NameSpace.java:612) > > at bsh.NameSpace.getClass(NameSpace.java:521) > > at bsh.Name.consumeNextObjectField(Name.java:283) > > at bsh.Name.toObject(Name.java:206) > > at bsh.Name.toObject(Name.java:189) > > at bsh.Name.invokeMethod(Name.java:649) > > at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:53) > > at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69) > > at bsh.Interpreter.run(Interpreter.java:411) > > at bsh.Interpreter.main(Interpreter.java:361 > > Compilation exited abnormally with code ) at Tue Oct 29 13:08:29 > >
