Check if you have
JAVA_HOME
set in your environment. I had the same problem and
to setup JAVA_HOME was the fix.
Sara.

On Thu, 13 Apr 2000, Neeme Praks wrote:

> 
> I downloaded the latest version from CVS and tried to build it under
> win2000 and tomcat (with build.bat).
> However, it keeps giving me the following error:
> 
> Now building core...
> "Classpath:
> d:\java\lib\jsdk.jar;..\lib\ecs.jar;..\lib\turbine-2.0.jar;..\lib\cocoon
> .jar;..\lib\cocoon-ext-servlet2.2.jar;..\lib\castor.jar;..\lib\village.j
> ar;..\lib\xalan.jar;..\lib\xerces.jar;ant.jar;projectx-tr2.jar;javac.jar
> "
> Buildfile: build.xml
> Detected Java Version: 1.2
> Project base dir set to: D:\jetspeed\jetspeed\build
> Executing Target: core
> Compiling 329 source files to D:\jetspeed\jetspeed\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)
> 
> Is it my configuration problem or is it something else?
> 
> Neeme
> 
> 
> --
> --------------------------------------------------------------
> 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