Steve Belt wrote:
> 
> I cannot get the code to compile - though I am grateful that it is now at
> least trying to compile it. :) (Following 2 other posts, I changed
> jikes->classic, and include..."org"...->include..."org/**"...) I feel this
> is progress.
> 
> I am trying to follow your instructions from 02/21. I have downloaded the
> source and I am trying to create the .jar.
> 
> Note that I do not have J2EE, so I have changed my build .bat to "set
> J2EE=c:\classes\jsdk.jar".
> 
> While running "build all" after copying the files, I get the following
> error:
> 
> Compiling 170 source files to C:\public\Jetspeed\bin\classes
> Exception in thread "main" java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
>         at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java,
> Comp
> iled 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
> Cod
> e)
>         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java, Compiled Code)


You need to have tools.jar from your JDK within your classpath.  Either
that or just get javac.jar that comes with Tomcat.

Ant needs to be smarter about this and I am going to do a fix for this
if I get time.

Kevin

-- 
Kevin A Burton
http://relativity.yi.org
Linux - The revolution will NOT be televised


--
--------------------------------------------------------------
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