You need to have tools.jar in your classpath. Jikes is not a java program,
therefore it does not need any jars. Actually, tools.jar should be mentioned
in the build scripts...

-----Original Message-----
From: Brian M. Long <[EMAIL PROTECTED]>
To: 'JetSpeed' <[EMAIL PROTECTED]>
Date: Montag, 29. Mai 2000 18:39


>
>Hi folks.  Running the build with the compiler switch set to 'classic'
>gives:
>
><begin build trace>
>Buildfile: build.xml
>Detected Java Version: 1.2
>Project base dir set to: D:\Jetspeed-1.1\build
>Executing Target: core
>Compiling 308 source files to D:\Jetspeed-1.1\bin\classes
>Exception in thread "main" java.lang.NoClassDefFoundError:
>sun/tools/javac/Main
>        at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java,
>Compiled Code)
>        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java, Compiled
>Code)
>        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
>        at org.apache.tools.ant.Project.runTarget(Project.java)
>        at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
>Code)
>        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>        at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
><end build trace>
>
>
>But the weird thing is that if I switch the compiler to jikes, it works
>fine.  Any clues?
>(I know the short answer is "use jikes").
>
>-bml:)
>
>
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to