You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Zahra Zahid <za...@gmail.com> on 2004/12/05 06:06:49 UTC

build problem

Hi,
 when i try 2 build derby i get the followin error...i have checked
most classpaths can any1 tell me wat i need 2 do ?

compile_reference:
   [javac] Compiling 9 source files to C:\trunk\classes
   [javac] Fatal Error: Unable to locate package java.lang in classpath or boot
classpath

BUILD FAILED
C:\trunk\build.xml:256: The following error occurred while executing this line:
C:\trunk\java\engine\build.xml:40: The following error occurred while executing
this line:
C:\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32: Compile faile
d; see the compiler error output for details.

                        REGARDS
                                Zahra

Re: build problem

Posted by Jeremy Boynes <jb...@gluecode.com>.
Have you defined the properties that specify where the two JDK's are 
installed? E.g. in ~/ant.properties I have

jdk14.dir=C:\\Java\\JDK142
jdk13.dir=C:\\Java\\JDK131

j14lib=${jdk14.dir}/jre/lib
j13lib=${jdk13.dir}/jre/lib

proceed=true
sane=false

derby.compile.source=1.3
derby.compile.target=1.3

--
Jeremy

Zahra Zahid wrote:
> Hi,
>  when i try 2 build derby i get the followin error...i have checked
> most classpaths can any1 tell me wat i need 2 do ?
> 
> compile_reference:
>    [javac] Compiling 9 source files to C:\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath or boot
> classpath
> 
> BUILD FAILED
> C:\trunk\build.xml:256: The following error occurred while executing this line:
> C:\trunk\java\engine\build.xml:40: The following error occurred while executing
> this line:
> C:\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32: Compile faile
> d; see the compiler error output for details.
> 
>                         REGARDS
>                                 Zahra


Re: build problem

Posted by Zahra Zahid <za...@gmail.com>.
Thanx it worked...thanx a million :D...i had not mentioned the JDK
installation directories...:)..
         THANku!
                        regards
                              Zahra


On Sat, 04 Dec 2004 22:28:22 -0800, Jeremy Boynes <jb...@apache.org> wrote:
> 
> 
> Have you defined the properties that specify where the two JDK's are
> installed? E.g. in ~/ant.properties I have
> 
> jdk14.dir=C:\\Java\\JDK142
> jdk13.dir=C:\\Java\\JDK131
> 
> j14lib=${jdk14.dir}/jre/lib
> j13lib=${jdk13.dir}/jre/lib
> 
> proceed=true
> sane=false
> 
> derby.compile.source=1.3
> derby.compile.target=1.3
> 
> --
> Jeremy
> 
> Zahra Zahid wrote:
> > Hi,
> >  when i try 2 build derby i get the followin error...i have checked
> > most classpaths can any1 tell me wat i need 2 do ?
> >
> > compile_reference:
> >    [javac] Compiling 9 source files to C:\trunk\classes
> >    [javac] Fatal Error: Unable to locate package java.lang in classpath or boot
> > classpath
> >
> > BUILD FAILED
> > C:\trunk\build.xml:256: The following error occurred while executing this line:
> > C:\trunk\java\engine\build.xml:40: The following error occurred while executing
> > this line:
> > C:\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32: Compile faile
> > d; see the compiler error output for details.
> >
> >                         REGARDS
> >                                 Zahra
> 
>

Re: build problem

Posted by Jeremy Boynes <jb...@apache.org>.
Have you defined the properties that specify where the two JDK's are 
installed? E.g. in ~/ant.properties I have

jdk14.dir=C:\\Java\\JDK142
jdk13.dir=C:\\Java\\JDK131

j14lib=${jdk14.dir}/jre/lib
j13lib=${jdk13.dir}/jre/lib

proceed=true
sane=false

derby.compile.source=1.3
derby.compile.target=1.3

--
Jeremy

Zahra Zahid wrote:
> Hi,
>  when i try 2 build derby i get the followin error...i have checked
> most classpaths can any1 tell me wat i need 2 do ?
> 
> compile_reference:
>    [javac] Compiling 9 source files to C:\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath or boot
> classpath
> 
> BUILD FAILED
> C:\trunk\build.xml:256: The following error occurred while executing this line:
> C:\trunk\java\engine\build.xml:40: The following error occurred while executing
> this line:
> C:\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32: Compile faile
> d; see the compiler error output for details.
> 
>                         REGARDS
>                                 Zahra