Kathey, I have done as you requested:

Some classes do compile but only few.

Here is local.properties:

jdk16="C:/IBM/Java_SDK_1.6"
j16lib=${jdk16}/jre/lib
java16compile.classpath=${j16lib}/sql.jar;${j16lib}/xml.jar;${j16lib}/ibmjcefw.jar;${j16lib}/security.jar;${j16lib}/rt.jar;${j16lib}/security.jar;${j16lib}/vm.jar;${j16lib}/java.util.jar;${j16lib}/jndi.jar;${j16lib}/logging.jar;${j16lib}/jlm.jar;${j16lib}/annotation.jar
classpath=${j16lib}/sql.jar;${j16lib}/xml.jar;${j16lib}/ibmjcefw.jar;${j16lib}/security.jar;${j16lib}/rt.jar;${j16lib}/security.jar;${j16lib}/vm.jar;${j16lib}/java.util.jar;${j16lib}/jndi.jar;${j16lib}/logging.jar;${j16lib}/jlm.jar;${j16lib}/annotation.jar
bootclasspath=${j16lib}/sql.jar;${j16lib}/xml.jar;${j16lib}/ibmjcefw.jar;${j16lib}/security.jar;${j16lib}/rt.jar;${j16lib}/security.jar;${j16lib}/vm.jar;${j16lib}/java.util.jar;${j16lib}/jndi.jar;${j16lib}/logging.jar;${j16lib}/jlm.jar;${j16lib}/annotation.jar
printCompilerProperties=true

And here is the build output...

C:\Apache\db-derby-10.8.3.0-src>ant buildsource
Buildfile: C:\Apache\db-derby-10.8.3.0-src\build.xml

checkCompilerLevel:

setInitialProperties:

init:

make-generated-dirs:

make-release-dirs:

ensuresanitystate:

setissane:

prebuild:

compile:

build:

setCompilerProperties:

printCompilerProperties:
     [echo] Before setting properties:  compilerPropsAlreadySet = 
${compilerPropsAlreadySet}
     [echo] Before setting properties:  compilerLevel16 = 1.6
     [echo] Before setting properties:  jsr169compile.classpath = 
${jsr169compile.classpath}
     [echo] Before setting properties:  j14lib = ${j14lib}
     [echo] Before setting properties:  java14compile.classpath = 
${java14compile.classpath}
     [echo] Before setting properties:  j15lib = ${j15lib}
     [echo] Before setting properties:  java15compile.classpath = 
${java15compile.classpath}
     [echo] Before setting properties:  j16lib = "C:/IBM/Java_SDK_1.6"/jre/lib
     [echo] Before setting properties:  java16compile.classpath = 
"C:/IBM/Java_SDK_1.6"/jre/lib/sql.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/xml.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/ibmjcefw.jar;"C:/IBM/Java_SD
K_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/rt.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/vm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/java.util.jar;"C:/IBM/Jav
a_SDK_1.6"/jre/lib/jndi.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/logging.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jlm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/annotation.jar
[setJdkProperties]
[setJdkProperties] PropertySetter environment =
[setJdkProperties]
[setJdkProperties] java.vendor = IBM Corporation
[setJdkProperties] java.home = C:\IBM\Java_SDK_1.6\jre
[setJdkProperties] java.version = 1.6.0
[setJdkProperties] os.name = Windows XP
[setJdkProperties] j14lib = null
[setJdkProperties] j15lib = null
[setJdkProperties] j16lib = "C:/IBM/Java_SDK_1.6"/jre/lib
[setJdkProperties] jdkSearchPath = C:\IBM
[setJdkProperties]
[setJdkProperties]
[setJdkProperties]
[setJdkProperties] 'j16lib' explicitly set to '"C:/IBM/Java_SDK_1.6"/jre/lib'
[setJdkProperties]
[setJdkProperties] Locating JDKs:
[setJdkProperties] found JDK: vendor=IBM Corporation, specVersion=6.0, 
implVersion=2.4 (09-23-2009), path=C:\IBM\Java_SDK_1.6
[setJdkProperties]
[setJdkProperties] Selecting JDK candidates:
[setJdkProperties] INFO: No valid JDK with specification version '1.4' found
[setJdkProperties] INFO: No valid JDK with specification version '5.0' found

printCompilerProperties:
     [echo] After setting properties:  compilerPropsAlreadySet = true
     [echo] After setting properties:  compilerLevel16 = 1.6
     [echo] After setting properties:  jsr169compile.classpath = 
C:\Apache\db-derby-10.8.3.0-src/classes/stubs/jsr169:C:\Apache\db-derby-10.8.3.0-src/classes/stubs/jdbc3:"C:/IBM/Java_SDK_1.6"/jre/lib/
sql.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/xml.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/ibmjcefw.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/rt.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/s
ecurity.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/vm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/java.util.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jndi.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/logging.jar;"C:/IBM/Java_SDK_1.6"/jre/
lib/jlm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/annotation.jar
     [echo] After setting properties:  j14lib = ${j14lib}
     [echo] After setting properties:  java14compile.classpath = 
C:\Apache\db-derby-10.8.3.0-src/classes/stubs/jdbc3:"C:/IBM/Java_SDK_1.6"/jre/lib/sql.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/xml.jar;"C:/IBM
/Java_SDK_1.6"/jre/lib/ibmjcefw.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/rt.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/vm.jar;"C:/
IBM/Java_SDK_1.6"/jre/lib/java.util.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jndi.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/logging.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jlm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/annotation.
jar
     [echo] After setting properties:  j15lib = ${j15lib}
     [echo] After setting properties:  java15compile.classpath = 
C:\Apache\db-derby-10.8.3.0-src/classes/stubs/jdbc3:"C:/IBM/Java_SDK_1.6"/jre/lib/sql.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/xml.jar;"C:/IBM
/Java_SDK_1.6"/jre/lib/ibmjcefw.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/rt.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/vm.jar;"C:/
IBM/Java_SDK_1.6"/jre/lib/java.util.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jndi.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/logging.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jlm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/annotation.
jar
     [echo] After setting properties:  j16lib = "C:/IBM/Java_SDK_1.6"/jre/lib
     [echo] After setting properties:  java16compile.classpath = 
"C:/IBM/Java_SDK_1.6"/jre/lib/sql.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/xml.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/ibmjcefw.jar;"C:/IBM/Java_SDK
_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/rt.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/security.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/vm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/java.util.jar;"C:/IBM/Java
_SDK_1.6"/jre/lib/jndi.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/logging.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/jlm.jar;"C:/IBM/Java_SDK_1.6"/jre/lib/annotation.jar

jsr169stubs:
    [javac] Compiling 26 source files to 
C:\Apache\db-derby-10.8.3.0-src\classes\stubs\jsr169
    [javac] Fatal Error: Unable to find package java.lang in classpath or 
bootclasspath

BUILD FAILED
C:\Apache\db-derby-10.8.3.0-src\build.xml:738: Compile failed; see the compiler 
error output for details.

Total time: 1 second

C:\Apache\db-derby-10.8.3.0-src>

Thanks,
Oskar



________________________________
 From: Katherine Marsden <kmarsdende...@sbcglobal.net>
To: derby-dev@db.apache.org 
Sent: Friday, February 15, 2013 2:05 PM
Subject: Re: Building Derby 10.8.3.0
 

On 2/15/2013 10:52 AM, Oskar Zinger wrote:

Now - I get the following:
>
>It cannot find core java.lang package - even though I have
        specified rt.jar
>
>C:\Apache\db-derby-10.8.3.0-src>ant -quiet buildsource
>    [javac] Fatal Error: Unable to find package java.lang in
        classpath or bootclasspath
>
>
Please add 

printCompilerProperties=true 
Please cut and paste your local.properties

and run 

ant buildsource

 (no quiet)  and cut and send the full output.

Reply via email to