db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oskar Zinger <oska...@yahoo.com>
Subject Re: Building Derby 10.8.3.0
Date Fri, 15 Feb 2013 21:05:31 GMT
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 <kmarsdenderby@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 <kmarsdenderby@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
>
>
>
>
>
Mime
View raw message