Rapha�l Luta - [EMAIL PROTECTED] wrote:
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rapha�l Luta
> Sent: Monday, May 29, 2000 12:37 PM
> To: JetSpeed
> Subject: Re:
>
>
> "Brian M. Long" wrote:
> >
> > 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").
> >
>
> add <jdk>\lib\tools.jar in your classpath
>
> --
> Rapha�l Luta - [EMAIL PROTECTED]
my classpath looks like this:
classpath=.;d:\myclasses;d:\jConnect-5_2\classes;d:\jConnect-5_2\classes\jCo
nn2.
jar;d:\jdk1.2.2\lib\tools.jar;f:\weblogic\lib\weblogicaux.jar;d:\Jetspeed-1.
1\je
tspeed.jar;d:\jetspeed-1.1\lib\castor-0.7.4.jar;d:\jetspeed-1.1\lib\cocoon.j
ar;d
:\lib\jetspeed-1.1\lib\coocon-ext-servlet2.2.jar;d:\jetspeed-1.1\lib\ecs.jar
;d:\
jetspeed-1.1\lib\turbine-2.0.jar;d:\jetspeed-1.1\lib\village.jar;d:\jetspeed
-1.1
\lib\xalan.jar;d:\jetspeed-1.1\lib\xerces.jar
note d:\jdk1.2.2\lib\tools.jar in 2nd line....
-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]