You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Oskar Zinger <os...@yahoo.com> on 2013/02/15 19:20:36 UTC

Building Derby 10.8.3.0

Trying to build Derby 10.8.3.0 and getting the following error:


C:\Apache\db-derby-10.8.3.0-src>ant -quiet buildsource

BUILD FAILED
C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to set java15compile.classpath, java16compile.classpath using this environment:

java.vendor = IBM Corporation
java.home = C:\IBM\Java_SDK_1.6\jre
java.version = 1.6.0
os.name = Windows XP
j14lib = null
j15lib = null
j16lib = null
jdkSearchPath = C:\IBM

Please consult BUILDING.html for instructions on how to set the compiler-classpath properties.

Total time: 1 second

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

All of the paths are setup correctly and terminal finds, ant, java and javac.

There seems to be a similar issue already submitted (even though its Mac OS X, but the error is exactly the same, so the work-around is the same), which can be found here: https://issues.apache.org/jira/browse/DERBY-5984

Thanks,
Oskar Zinger

Re: Building Derby 10.8.3.0

Posted by Rick Hillegas <ri...@oracle.com>.
>
> So look like not so easy to build Derby after all :-)
>
>
Hi Oskar,

Derby is expected to run on CDC/FP 1.1, Java 5, Java 6, Java 7, and 
(soon) Java 8. On each platform Derby is supposed to present the JDBC 
api appropriate to that level of Java. This makes the Derby build a bit 
involved. The instructions for building Derby can be found at the top of 
the subversion source in BUILDING.html. If you're not having any luck 
setting j16lib, the next line of attack is generally to set 
java16compile.classpath. As Kathey said, setting 
"printCompilerProperties=true" will give you diagnostic information to 
help us diagnose what's peculiar about your environment.

Hope this helps,
-Rick

Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
OK - its working now.

The original classpath was missing:  ${j16lib}/ibmcertpathfw.jar and ${j16lib}/ibmjssefw.jar.


Removing quotes and commenting out the java16compile.classpath with a # gets the build to complete successfully! I like that its now building without having to deal with classpath manually.


Here is the final local.properties:

jdk16=C:/IBM/Java_SDK_1.6
j16lib=${jdk16}/jre/lib
#java16compile.classpath=${j16lib}/sql.jar;${j16lib}/ibmcertpathfw.jar;${j16lib}/ibmjssefw.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


Thanks for your help!

Oskar


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

On 2/15/2013 1:05 PM, Oskar Zinger wrote:

That actually helped. The reason I had quotes there, initially, build or ant or something else did not like spaces in the Java path, so I enclosed it into quotes, then I renamed the directory to have no spaces....
>
>
So two possibilities
1) Now that the double quotes are gone, first comment out 
    java16compile.classpath with a #  ant clobber and then build.

If that doesn't work, uncomment it and add ${j16lib}/ibmjssefw.jar
    which has this class

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
On 2/15/2013 1:05 PM, Oskar Zinger wrote:
> That actually helped. The reason I had quotes there, initially, build 
> or ant or something else did not like spaces in the Java path, so I 
> enclosed it into quotes, then I renamed the directory to have no 
> spaces....
>

So two possibilities
1) Now that the double quotes are gone, first comment out 
java16compile.classpath with a #  ant clobber and then build.

If that doesn't work, uncomment it and add ${j16lib}/ibmjssefw.jar which 
has this class


Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
That actually helped. The reason I had quotes there, initially, build or ant or something else did not like spaces in the Java path, so I enclosed it into quotes, then I renamed the directory to have no spaces....

But I do get the next problem now, which is:

compile_impl_services_169:
    [javac] Compiling 53 source files to C:\Apache\db-derby-10.8.3.0-src\classes
    [javac] C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\services\reflect\JarLoader.java:39: cannot find symbol
    [javac] symbol  : class X509Certificate
    [javac] location: package java.security.cert
    [javac] import java.security.cert.X509Certificate;
    [javac]                          ^
    [javac] C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\services\reflect\JarLoader.java:498: cannot find symbol
    [javac] symbol  : class X509Certificate
    [javac] location: class org.apache.derby.impl.services.reflect.JarLoader
    [javac]                 if (!(list[i] instanceof X509Certificate)) {
    [javac]                                          ^
    [javac] C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\services\reflect\JarLoader.java:506: cannot find symbol
    [javac] symbol  : class X509Certificate
    [javac] location: class org.apache.derby.impl.services.reflect.JarLoader
    [javac]                 X509Certificate cert = (X509Certificate) list[i];
    [javac]                 ^
    [javac] C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\services\reflect\JarLoader.java:506: cannot find symbol
    [javac] symbol  : class X509Certificate
    [javac] location: class org.apache.derby.impl.services.reflect.JarLoader
    [javac]                 X509Certificate cert = (X509Certificate) list[i];
    [javac]                                         ^
    [javac] 4 errors

BUILD FAILED
C:\Apache\db-derby-10.8.3.0-src\build.xml:548: The following error occurred while executing this line:
C:\Apache\db-derby-10.8.3.0-src\java\engine\build.xml:81: The following error occurred while executing this line:
C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\build.xml:52: The following error occurred while executing this line:
C:\Apache\db-derby-10.8.3.0-src\java\engine\org\apache\derby\impl\services\build.xml:50: Compile failed; see the compiler error output for details.

Total time: 33 seconds

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

Thanks,
Oskar



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

On 2/15/2013 11:59 AM, Oskar Zinger wrote:

Yes I get the same error, with or without bootclasspath, the only reason I set that is because the error message pointed to classpath and bootclasspth, so I set them just in-case to the same values.
>\
>
Maybe take out the double quotes in 
jdk16="C:/IBM/Java_SDK_1.6"
?
In favor of 
jdk16=C:/IBM/Java_SDK_1.6

C:\IBM\Java_SDK_1.6\jre\lib>dir
> Volume in drive C has no label.
> Volume Serial Number is 6806-ABBD
>
> Directory of C:\IBM\Java_SDK_1.6\jre\lib
>
>09/25/2009  06:29 AM    <DIR>          .
>09/25/2009  06:29 AM    <DIR>          ..
>06/17/2009  07:37 AM               251
          accessibility.properties
>09/25/2009  06:01 AM            10,160 annotation.jar
>09/25/2009  06:28 AM    <DIR>          applet
>09/25/2009  06:27 AM    <DIR>          audio
>09/25/2009  06:01 AM           182,100 beans.jar
>08/27/2009  11:18 AM             1,686 calendars.properties
>09/25/2009  06:01 AM         8,928,290 charsets.jar
>09/25/2009  06:27 AM    <DIR>          cmm
>08/27/2009  11:18 AM             5,977
          content-types.properties
>08/06/2009  06:25 AM             2,612 dc.properties
>09/25/2009  06:28 AM    <DIR>          deploy
>09/03/2009  09:10 AM         1,813,658 deploy.jar
>09/25/2009  06:28 AM    <DIR>          endorsed
>09/25/2009  06:27 AM    <DIR>          ext
>08/27/2009  11:18 AM             4,299 flavormap.properties
>06/30/2009  06:44 AM             3,618 fontconfig.bfc
>06/30/2009  06:44 AM             8,525
          fontconfig.properties.src
>09/25/2009  06:28 AM    <DIR>          fonts
>06/17/2009  07:37 AM               251 healthcenter.properties
>09/25/2009  06:27 AM    <DIR>          i386
>06/17/2009  07:37 AM           133,770 ibmcertpathfw.jar
>06/17/2009  07:37 AM           356,854 ibmcertpathprovider.jar
>06/17/2009  07:37 AM           536,255 ibmcfw.jar
>06/17/2009  07:37 AM            97,757 ibmjcefw.jar
>06/17/2009  07:37 AM            27,626 ibmjgssfw.jar
>08/20/2009  12:20 AM           923,824 ibmjgssprovider.jar
>06/17/2009  07:37 AM            60,208 ibmjssefw.jar
>07/16/2009  01:40 AM           416,801 ibmjsseprovider2.jar
>09/10/2009  02:56 AM         1,191,269 ibmorb.jar
>09/10/2009  02:56 AM           424,521 ibmorbapi.jar
>09/04/2009  10:56 AM         1,155,958 ibmpkcs.jar
>06/17/2009  07:37 AM            10,966 ibmsaslfw.jar
>07/03/2009  05:01 AM           152,580 ibmxmlcrypto.jar
>09/25/2009  06:28 AM    <DIR>          im
>09/25/2009  06:28 AM    <DIR>          images
>06/17/2009  07:37 AM            15,223 ir.idl
>08/31/2009  08:10 AM           473,645 J9TraceFormat.dat
>09/24/2009  11:19 AM             9,995 j9zip.jar
>06/17/2009  07:37 AM               571 jars.cfg
>09/25/2009  06:01 AM           415,523 java.util.jar
>06/17/2009  07:37 AM           363,834 javascript.jar
>09/03/2009  09:10 AM           426,450 javaws.jar
>06/17/2009  07:37 AM             4,246 jaxp.properties.sample
>06/17/2009  07:37 AM            88,829 jlm.jar
>09/25/2009  06:01 AM           212,675 jndi.jar
>07/28/2009  01:32 AM             2,807 jvm.hprof.txt
>09/25/2009  06:01 AM            54,415 logging.jar
>08/27/2009  11:18 AM             2,716 logging.properties
>09/25/2009  06:29 AM    <DIR>          management
>09/25/2009  06:01 AM               375 management-agent.jar
>08/27/2009  11:18 AM             3,541 net.properties
>06/17/2009  07:37 AM             9,170 orb.idl
>09/03/2009  09:10 AM         1,878,696 plugin.jar
>06/17/2009  07:37 AM             3,070 psfont.properties.ja
>08/27/2009  11:18 AM            11,147 psfontj2d.properties
>09/25/2009  06:01 AM           471,831 resources.jar
>09/25/2009  06:01 AM        18,862,864 rt.jar
>09/25/2009  06:27 AM    <DIR>          security
>09/25/2009  06:01 AM           267,650 security.jar
>08/27/2009  11:18 AM             1,681 sound.properties
>09/25/2009  06:01 AM           126,954 sql.jar
>06/17/2009  07:37 AM             3,179 stax.properties.sample
>06/17/2009  07:37 AM             8,931 TraceFormat.dat
>06/17/2009  07:37 AM             8,042 tzmappings
>09/25/2009  06:01 AM                62 version.properties
>09/24/2009  11:19 AM           373,971 vm.jar
>06/17/2009  07:37 AM               197 xalan.properties
>06/17/2009  07:37 AM             2,542 xerces.properties
>09/03/2009  09:10 AM         8,705,742 xml.jar
>07/03/2009  05:01 AM            48,340 xmldsigfw.jar
>09/25/2009  06:27 AM    <DIR>          zi
>              58 File(s)     49,308,730 bytes
>              15 Dir(s)   8,473,083,904 bytes free
>
>C:\IBM\Java_SDK_1.6\jre\lib>
>
>
>Java -version:
>
>
>
>C:\Apache\db-derby-10.8.3.0-src>java -version
>java version "1.6.0"
>Java(TM) SE Runtime Environment (build
          pwi3260sr6-20090925_01(SR6))
>IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows XP x86-32
          jvmwi3260sr6-20090923_42924 (JIT enabled, AOT enabled)
>J9VM - 20090923_042924
>JIT  - r9_20090902_1330ifx1
>GC   - 20090817_AA)
>JCL  - 20090924_01
>
>C:\Apache\db-derby-10.8.3.0-src>
>
>
>
>
>
>
>________________________________
> From: Katherine Marsden <km...@sbcglobal.net>
>To: derby-dev@db.apache.org 
>Sent: Friday, February 15, 2013 2:48 PM
>Subject: Re: Building Derby 10.8.3.0
> 
>
>On 2/15/2013 11:20 AM, Oskar Zinger wrote:
>
>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
>>
>I do not normally set bootclasspath.  Did you get the
                same error with that as well?
>
>Can you send a list of files in
                "C:/IBM/Java_SDK_1.6/jre/lib  
>also make sure the java in the PATH  is the same as
                $jdk16/bin/java
>
>
>
>
>

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
On 2/15/2013 11:59 AM, Oskar Zinger wrote:
> Yes I get the same error, with or without bootclasspath, the only 
> reason I set that is because the error message pointed to classpath 
> and bootclasspth, so I set them just in-case to the same values.
> \

Maybe take out the double quotes in
jdk16="C:/IBM/Java_SDK_1.6"
?
In favor of
jdk16=C:/IBM/Java_SDK_1.6
> C:\IBM\Java_SDK_1.6\jre\lib>dir
>  Volume in drive C has no label.
>  Volume Serial Number is 6806-ABBD
>
>  Directory of C:\IBM\Java_SDK_1.6\jre\lib
>
> 09/25/2009  06:29 AM    <DIR>          .
> 09/25/2009  06:29 AM    <DIR>          ..
> 06/17/2009  07:37 AM               251 accessibility.properties
> 09/25/2009  06:01 AM            10,160 annotation.jar
> 09/25/2009  06:28 AM    <DIR>          applet
> 09/25/2009  06:27 AM    <DIR>          audio
> 09/25/2009  06:01 AM           182,100 beans.jar
> 08/27/2009  11:18 AM             1,686 calendars.properties
> 09/25/2009  06:01 AM         8,928,290 charsets.jar
> 09/25/2009  06:27 AM    <DIR>          cmm
> 08/27/2009  11:18 AM             5,977 content-types.properties
> 08/06/2009  06:25 AM             2,612 dc.properties
> 09/25/2009  06:28 AM    <DIR>          deploy
> 09/03/2009  09:10 AM         1,813,658 deploy.jar
> 09/25/2009  06:28 AM    <DIR>          endorsed
> 09/25/2009  06:27 AM    <DIR>          ext
> 08/27/2009  11:18 AM             4,299 flavormap.properties
> 06/30/2009  06:44 AM             3,618 fontconfig.bfc
> 06/30/2009  06:44 AM             8,525 fontconfig.properties.src
> 09/25/2009  06:28 AM    <DIR>          fonts
> 06/17/2009  07:37 AM               251 healthcenter.properties
> 09/25/2009  06:27 AM    <DIR>          i386
> 06/17/2009  07:37 AM           133,770 ibmcertpathfw.jar
> 06/17/2009  07:37 AM           356,854 ibmcertpathprovider.jar
> 06/17/2009  07:37 AM           536,255 ibmcfw.jar
> 06/17/2009  07:37 AM            97,757 ibmjcefw.jar
> 06/17/2009  07:37 AM            27,626 ibmjgssfw.jar
> 08/20/2009  12:20 AM           923,824 ibmjgssprovider.jar
> 06/17/2009  07:37 AM            60,208 ibmjssefw.jar
> 07/16/2009  01:40 AM           416,801 ibmjsseprovider2.jar
> 09/10/2009  02:56 AM         1,191,269 ibmorb.jar
> 09/10/2009  02:56 AM           424,521 ibmorbapi.jar
> 09/04/2009  10:56 AM         1,155,958 ibmpkcs.jar
> 06/17/2009  07:37 AM            10,966 ibmsaslfw.jar
> 07/03/2009  05:01 AM           152,580 ibmxmlcrypto.jar
> 09/25/2009  06:28 AM    <DIR>          im
> 09/25/2009  06:28 AM    <DIR>          images
> 06/17/2009  07:37 AM            15,223 ir.idl
> 08/31/2009  08:10 AM           473,645 J9TraceFormat.dat
> 09/24/2009  11:19 AM             9,995 j9zip.jar
> 06/17/2009  07:37 AM               571 jars.cfg
> 09/25/2009  06:01 AM           415,523 java.util.jar
> 06/17/2009  07:37 AM           363,834 javascript.jar
> 09/03/2009  09:10 AM           426,450 javaws.jar
> 06/17/2009  07:37 AM             4,246 jaxp.properties.sample
> 06/17/2009  07:37 AM            88,829 jlm.jar
> 09/25/2009  06:01 AM           212,675 jndi.jar
> 07/28/2009  01:32 AM             2,807 jvm.hprof.txt
> 09/25/2009  06:01 AM            54,415 logging.jar
> 08/27/2009  11:18 AM             2,716 logging.properties
> 09/25/2009  06:29 AM    <DIR>          management
> 09/25/2009  06:01 AM               375 management-agent.jar
> 08/27/2009  11:18 AM             3,541 net.properties
> 06/17/2009  07:37 AM             9,170 orb.idl
> 09/03/2009  09:10 AM         1,878,696 plugin.jar
> 06/17/2009  07:37 AM             3,070 psfont.properties.ja
> 08/27/2009  11:18 AM            11,147 psfontj2d.properties
> 09/25/2009  06:01 AM           471,831 resources.jar
> 09/25/2009  06:01 AM        18,862,864 rt.jar
> 09/25/2009  06:27 AM    <DIR>          security
> 09/25/2009  06:01 AM           267,650 security.jar
> 08/27/2009  11:18 AM             1,681 sound.properties
> 09/25/2009  06:01 AM           126,954 sql.jar
> 06/17/2009  07:37 AM             3,179 stax.properties.sample
> 06/17/2009  07:37 AM             8,931 TraceFormat.dat
> 06/17/2009  07:37 AM             8,042 tzmappings
> 09/25/2009  06:01 AM                62 version.properties
> 09/24/2009  11:19 AM           373,971 vm.jar
> 06/17/2009  07:37 AM               197 xalan.properties
> 06/17/2009  07:37 AM             2,542 xerces.properties
> 09/03/2009  09:10 AM         8,705,742 xml.jar
> 07/03/2009  05:01 AM            48,340 xmldsigfw.jar
> 09/25/2009  06:27 AM    <DIR>          zi
>               58 File(s)     49,308,730 bytes
>               15 Dir(s)   8,473,083,904 bytes free
>
> C:\IBM\Java_SDK_1.6\jre\lib>
>
> Java -version:
>
> C:\Apache\db-derby-10.8.3.0-src>java -version
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pwi3260sr6-20090925_01(SR6))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 
> jvmwi3260sr6-20090923_42924 (JIT enabled, AOT enabled)
> J9VM - 20090923_042924
> JIT  - r9_20090902_1330ifx1
> GC   - 20090817_AA)
> JCL  - 20090924_01
>
> C:\Apache\db-derby-10.8.3.0-src>
>
>
> ------------------------------------------------------------------------
> *From:* Katherine Marsden <km...@sbcglobal.net>
> *To:* derby-dev@db.apache.org
> *Sent:* Friday, February 15, 2013 2:48 PM
> *Subject:* Re: Building Derby 10.8.3.0
>
> On 2/15/2013 11:20 AM, Oskar Zinger wrote:
>> 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
>
> I do not normally set bootclasspath.  Did you get the same error with 
> that as well?
>
> Can you send a list of files in "C:/IBM/Java_SDK_1.6/jre/lib
> also make sure the java in the PATH  is the same as $jdk16/bin/java
>
>
>
>


Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
Yes I get the same error, with or without bootclasspath, the only reason I set that is because the error message pointed to classpath and bootclasspth, so I set them just in-case to the same values.

C:\IBM\Java_SDK_1.6\jre\lib>dir
 Volume in drive C has no label.
 Volume Serial Number is 6806-ABBD

 Directory of C:\IBM\Java_SDK_1.6\jre\lib

09/25/2009  06:29 AM    <DIR>          .
09/25/2009  06:29 AM    <DIR>          ..
06/17/2009  07:37 AM               251 accessibility.properties
09/25/2009  06:01 AM            10,160 annotation.jar
09/25/2009  06:28 AM    <DIR>          applet
09/25/2009  06:27 AM    <DIR>          audio
09/25/2009  06:01 AM           182,100 beans.jar
08/27/2009  11:18 AM             1,686 calendars.properties
09/25/2009  06:01 AM         8,928,290 charsets.jar
09/25/2009  06:27 AM    <DIR>          cmm
08/27/2009  11:18 AM             5,977 content-types.properties
08/06/2009  06:25 AM             2,612 dc.properties
09/25/2009  06:28 AM    <DIR>          deploy
09/03/2009  09:10 AM         1,813,658 deploy.jar
09/25/2009  06:28 AM    <DIR>          endorsed
09/25/2009  06:27 AM    <DIR>          ext
08/27/2009  11:18 AM             4,299 flavormap.properties
06/30/2009  06:44 AM             3,618 fontconfig.bfc
06/30/2009  06:44 AM             8,525 fontconfig.properties.src
09/25/2009  06:28 AM    <DIR>          fonts
06/17/2009  07:37 AM               251 healthcenter.properties
09/25/2009  06:27 AM    <DIR>          i386
06/17/2009  07:37 AM           133,770 ibmcertpathfw.jar
06/17/2009  07:37 AM           356,854 ibmcertpathprovider.jar
06/17/2009  07:37 AM           536,255 ibmcfw.jar
06/17/2009  07:37 AM            97,757 ibmjcefw.jar
06/17/2009  07:37 AM            27,626 ibmjgssfw.jar
08/20/2009  12:20 AM           923,824 ibmjgssprovider.jar
06/17/2009  07:37 AM            60,208 ibmjssefw.jar
07/16/2009  01:40 AM           416,801 ibmjsseprovider2.jar
09/10/2009  02:56 AM         1,191,269 ibmorb.jar
09/10/2009  02:56 AM           424,521 ibmorbapi.jar
09/04/2009  10:56 AM         1,155,958 ibmpkcs.jar
06/17/2009  07:37 AM            10,966 ibmsaslfw.jar
07/03/2009  05:01 AM           152,580 ibmxmlcrypto.jar
09/25/2009  06:28 AM    <DIR>          im
09/25/2009  06:28 AM    <DIR>          images
06/17/2009  07:37 AM            15,223 ir.idl
08/31/2009  08:10 AM           473,645 J9TraceFormat.dat
09/24/2009  11:19 AM             9,995 j9zip.jar
06/17/2009  07:37 AM               571 jars.cfg
09/25/2009  06:01 AM           415,523 java.util.jar
06/17/2009  07:37 AM           363,834 javascript.jar
09/03/2009  09:10 AM           426,450 javaws.jar
06/17/2009  07:37 AM             4,246 jaxp.properties.sample
06/17/2009  07:37 AM            88,829 jlm.jar
09/25/2009  06:01 AM           212,675 jndi.jar
07/28/2009  01:32 AM             2,807 jvm.hprof.txt
09/25/2009  06:01 AM            54,415 logging.jar
08/27/2009  11:18 AM             2,716 logging.properties
09/25/2009  06:29 AM    <DIR>          management
09/25/2009  06:01 AM               375 management-agent.jar
08/27/2009  11:18 AM             3,541 net.properties
06/17/2009  07:37 AM             9,170 orb.idl
09/03/2009  09:10 AM         1,878,696 plugin.jar
06/17/2009  07:37 AM             3,070 psfont.properties.ja
08/27/2009  11:18 AM            11,147 psfontj2d.properties
09/25/2009  06:01 AM           471,831 resources.jar
09/25/2009  06:01 AM        18,862,864 rt.jar
09/25/2009  06:27 AM    <DIR>          security
09/25/2009  06:01 AM           267,650 security.jar
08/27/2009  11:18 AM             1,681 sound.properties
09/25/2009  06:01 AM           126,954 sql.jar
06/17/2009  07:37 AM             3,179 stax.properties.sample
06/17/2009  07:37 AM             8,931 TraceFormat.dat
06/17/2009  07:37 AM             8,042 tzmappings
09/25/2009  06:01 AM                62 version.properties
09/24/2009  11:19 AM           373,971 vm.jar
06/17/2009  07:37 AM               197 xalan.properties
06/17/2009  07:37 AM             2,542 xerces.properties
09/03/2009  09:10 AM         8,705,742 xml.jar
07/03/2009  05:01 AM            48,340 xmldsigfw.jar
09/25/2009  06:27 AM    <DIR>          zi
              58 File(s)     49,308,730 bytes
              15 Dir(s)   8,473,083,904 bytes free

C:\IBM\Java_SDK_1.6\jre\lib>

Java -version:


C:\Apache\db-derby-10.8.3.0-src>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr6-20090925_01(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr6-20090923_42924 (JIT enabled, AOT enabled)
J9VM - 20090923_042924
JIT  - r9_20090902_1330ifx1
GC   - 20090817_AA)
JCL  - 20090924_01

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




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

On 2/15/2013 11:20 AM, Oskar Zinger wrote:

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
>
I do not normally set bootclasspath.  Did you get the same error
    with that as well?

Can you send a list of files in "C:/IBM/Java_SDK_1.6/jre/lib  
also make sure the java in the PATH  is the same as $jdk16/bin/java

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
On 2/15/2013 11:20 AM, Oskar Zinger wrote:
> 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

I do not normally set bootclasspath.  Did you get the same error with 
that as well?

Can you send a list of files in "C:/IBM/Java_SDK_1.6/jre/lib
also make sure the java in the PATH  is the same as $jdk16/bin/java



Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
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 <km...@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.

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
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.






Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
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

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>

So look like not so easy to build Derby after all :-)


Thanks,
Oskar



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

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

Hi Kathey,
>
>Thanks for that, it got me a little further, but now I get the
        following:
>
>C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to
        set java16compile.classpath using this environment:
>
>
Try adding 

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 Hopefully that will do it. If not we might have to add the jdk14 and 14 stuff. I am not sure why this would be required but will hopefully work. 

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
On 2/15/2013 10:35 AM, Oskar Zinger wrote:
> Hi Kathey,
>
> Thanks for that, it got me a little further, but now I get the following:
>
> C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to set 
> java16compile.classpath using this environment:
>
Try adding

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

Hopefully that will do it. If not we might have to add the jdk14 and 14 stuff. I am not sure why this would be required but will hopefully work.




Re: Building Derby 10.8.3.0

Posted by Oskar Zinger <os...@yahoo.com>.
Hi Kathey,

Thanks for that, it got me a little further, but now I get the following:

C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to set java16compile.classpath using this environment:

java.vendor = IBM Corporation
java.home = C:\IBM\Java_SDK_1.6\jre
java.version = 1.6.0
os.name = Windows XP
j14lib = null
j15lib = null
j16lib = "C:/IBM/Java_SDK_1.6/jre/lib"
jdkSearchPath = C:\IBM

Please consult BUILDING.html for instructions on how to set the compiler-classpath properties.

Total time: 1 second

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

Thanks,
Oskar 




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

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

Trying to build Derby 10.8.3.0 and getting the following error:
>
>
>
>C:\Apache\db-derby-10.8.3.0-src>ant -quiet buildsource
>
>BUILD FAILED
>C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how
          to set java15compile.classpath, java16compile.classpath using
          this environment:
>
>java.vendor = IBM Corporation
>java.home = C:\IBM\Java_SDK_1.6\jre
>java.version = 1.6.0
>os.name = Windows XP
>j14lib = null
>j15lib = null
>j16lib = null
>jdkSearchPath = C:\IBM
>
>Please consult BUILDING.html for instructions on how to set
          the compiler-classpath properties.
>
>Total time: 1 second
>
>C:\Apache\db-derby-10.8.3.0-src>
>
>
>All of the paths are setup correctly and terminal finds, ant, java and javac.
>
>
>There seems to be a similar issue already submitted (even though its Mac OS X, but the error is exactly the same, so the work-around is the same), which can be found here: https://issues.apache.org/jira/browse/DERBY-5984
>
>
Hi Oskar, 

To get building try creating a file at the top of the code tree
    called local.properties and add the following values:

jdk16= C:\IBM\Java_SDK_1.6
j16lib=${jdk16}/jre/lib
 
Best

Kathey

Re: Building Derby 10.8.3.0

Posted by Katherine Marsden <km...@sbcglobal.net>.
On 2/15/2013 10:20 AM, Oskar Zinger wrote:
> Trying to build Derby 10.8.3.0 and getting the following error:
>
> C:\Apache\db-derby-10.8.3.0-src>ant -quiet buildsource
>
> BUILD FAILED
> C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to set 
> java15compile.classpath, java16compile.classpath using this environment:
>
> java.vendor = IBM Corporation
> java.home = C:\IBM\Java_SDK_1.6\jre
> java.version = 1.6.0
> os.name = Windows XP
> j14lib = null
> j15lib = null
> j16lib = null
> jdkSearchPath = C:\IBM
>
> Please consult BUILDING.html for instructions on how to set the 
> compiler-classpath properties.
>
> Total time: 1 second
>
> C:\Apache\db-derby-10.8.3.0-src>
>
> All of the paths are setup correctly and terminal finds, ant, java and 
> javac.
>
> There seems to be a similar issue already submitted (even though its 
> Mac OS X, but the error is exactly the same, so the work-around is the 
> same), which can be found here: 
> https://issues.apache.org/jira/browse/DERBY-5984
>
Hi Oskar,

To get building try creating a file at the top of the code tree called 
local.properties and add the following values:

jdk16= C:\IBM\Java_SDK_1.6
j16lib=${jdk16}/jre/lib

Best

Kathey