And tools.jar also should be included to use compiler.
It is in the $JDK/lib. I think other jar files in JDK, JRE
might be included but above one is the key jar.

## -----Original Message-----
## From: [EMAIL PROTECTED]
## [mailto:[EMAIL PROTECTED]]On Behalf Of Edmond Cisse
## Sent: Friday, July 21, 2000 9:45 PM
## To: 'JetSpeed'
## Cc: '[EMAIL PROTECTED]'
## Subject: RE: JetSpeed -1.2b1 fails to build under JServ1.1.1 / NT...
##
##
## Hi,
## I added "rt.jar" to my classpath but the problem remains unchanged...
## It might be helpful for me if I could compare my classpath
## settings against
## a working one's.
## Thanks for your help.
## Edmond.
## -----Original Message-----
## From: Daniel Haischt [mailto:[EMAIL PROTECTED]]
## Sent: Friday, July 21, 2000 12:25 PM
## To: JetSpeed
## Subject: Re: JetSpeed -1.2b1 fails to build under JServ1.1.1 / NT...
##
##
## hello,
##
## put the rt.jar file in your classpath. this file should be located
## somewhere in ...
##
## d:\java\jre\lib\rt.jar
##
## this may help.
##
## regards
##
## daniel haischt
## --
##
## At 12:10 21.07.00 +0200, you wrote:
## >I downloaded the last JetSpeed ver. for Win32 and tried to
## build it under
## >Win NT and Apache JServ
## >
## >Note: "d:\java\jdk\lib\tools.jar" and
## "d:\java\jsdk\lib\jsdk.jar" are in my
## >Classpath
## >
## >
## >When I run the build batch the following message appears on my
## DOS console
## :
## >
## >
## > >Now building core...
## > >"Classpath:
## >
## >d:\java\jsdk\lib\jsdk.jar;..\lib\ecs.jar;..\lib\turbine-2.0.jar;
## ..\lib\coco
## >on.jar;
## > >..\lib\cocoon-ext-servlet2.2.jar;..\lib\castor.jar;..\lib\village.jar;
## > >..\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: C:\temp\jetspeed\build
## > >Executing Target: core
## > >Compiling 402 source files to C:\temp\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)
## > >
## >
## >What's the matter with my classpath ?
## >Thanks a lot.
## >
## >Edmond.
## >
## >
## >
## >----------------------------------------------------------------
## -----------
## -
## >---------------
## >                        HealthCenter Internet Services
## >----------------------------------------------------------------
## -----------
## -
## >---------------
## >            Edmond Cisse         Focus Imaging
## >           Tel:  +(33)  4 92 38 71 28    Les Genêts 449, route
## des Crêtes
## >           Fax: +(33) 4 92 38 96 46      Sophia-Antipolis 06560 Valbonne
## >                                 FRANCE.
## >mailto:[EMAIL PROTECTED]              www.healthcenter.com
## >
## >
## >
## >
## >
## >
## >
## >
## >
## >--
## >--------------------------------------------------------------
## >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]
##
##
## --
## --------------------------------------------------------------
## 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