db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Umorin <mike...@sbcglobal.net>
Subject Re: compiling Derby under java 1.6
Date Fri, 21 Sep 2007 20:39:29 GMT
On Wed September 19 2007, Dag H. Wanvik wrote:
>
> As for compiling Derby with JDK 1.6:
>
> I think i use a plain "xalan.jar", which in addition to xalan-j2-2.7.0
> contains some supporting packages, perhaps that is why you have an
> compile time issue with xpath and serializer.
> (see http://xml.apache.org/xalan-j/downloads.html).
>
Despite all downloads and setting classpath I still get 

% ant
/usr/bin/build-classpath: error: Could not find ant-launcher Java extension 
for this JVM
/usr/bin/build-classpath: error: Could not find jaxp_parser_impl Java 
extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Buildfile: build.xml

init:
    [mkdir] Created dir: /tmp/db-derby-10.3.1.4-src/classes
...

compile_iapi_error_jsr169:

compile_reference:
    [javac] Compiling 4 source files to /tmp/db-derby-10.3.1.4-src/classes
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:60:

package org.apache.xpath does not exist
    [javac] import org.apache.xpath.XPath;
    [javac]                        ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:61:

package org.apache.xpath does not exist
    [javac] import org.apache.xpath.XPathContext;
    [javac]                        ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:62:

package org.apache.xpath.objects does not exist
    [javac] import org.apache.xpath.objects.XObject;
    [javac]                                ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:63:

package org.apache.xpath.objects does not exist
    [javac] import org.apache.xpath.objects.XNodeSet;
    [javac]                                ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:65:

package org.apache.xml.utils does not exist
    [javac] import org.apache.xml.utils.PrefixResolverDefault;
    [javac]                            ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:67:

package org.apache.xalan.serialize does not exist
    [javac] import org.apache.xalan.serialize.DOMSerializer;
    [javac]                                  ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:68:

package org.apache.xalan.serialize does not exist
    [javac] import org.apache.xalan.serialize.Serializer;
    [javac]                                  ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:69:

package org.apache.xalan.serialize does not exist
    [javac] import org.apache.xalan.serialize.SerializerFactory;
    [javac]                                  ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:70:

package org.apache.xalan.templates does not exist
    [javac] import org.apache.xalan.templates.OutputProperties;
    [javac]                                  ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:125:

cannot find symbol
    [javac] symbol  : class Serializer
    [javac] location: class org.apache.derby.iapi.types.SqlXmlUtil
    [javac]     private Serializer serializer;
    [javac]             ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:129:

cannot find symbol
    [javac] symbol  : class XPath
    [javac] location: class org.apache.derby.iapi.types.SqlXmlUtil
    [javac]     private XPath query;
    [javac]             ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:130:

cannot find symbol
    [javac] symbol  : class XPathContext
    [javac] location: class org.apache.derby.iapi.types.SqlXmlUtil
    [javac]     private XPathContext xpContext;
    [javac]             ^
    
[javac] /tmp/db-derby-10.3.1.4-src/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:668:

cannot find symbol
    [javac] symbol  : class XPathContext
    [javac] location: class org.apache.derby.iapi.types.SqlXmlUtil
    [javac]     private XPathContext getXPathContext()
    [javac]             ^


and so on.

my CLASSPATH:

$ echo $CLASSPATH
/usr/java/db/lib/derby.jar:/usr/java/db/lib/derbyclient.jar:/usr/java/db/lib/derbynet.jar:
/usr/java/db/lib/derbyrun.jar:/usr/java/db/lib/derbytools.jar:/usr/share/java/antlr-2.7.7.jar:/usr/share/java/antlr.jar:
/usr/share/java/bcmail-jdk16-136.jar:/usr/share/java/bcpg-jdk16-136.jar:/usr/share/java/bcprov-jdk16-136.jar:
/usr/share/java/bctest-jdk16-136.jar:/usr/share/java/bctsp-jdk16-136.jar:/usr/share/java/cairo1.0-1.0.8.jar:
/usr/share/java/cairo1.0.jar:/usr/share/java/classpathx-mail-1.3.2-monolithic-1.1.1.jar:
/usr/share/java/classpathx-mail-1.3.2-monolithic.jar:/usr/share/java/com-sun-javadoc-0.7.7.jar:
/usr/share/java/com-sun-javadoc.jar:/usr/share/java/com-sun-tools-doclets-Taglet-0.7.7.jar:
/usr/share/java/com-sun-tools-doclets-Taglet.jar:/usr/share/java/dom.jar:/usr/share/java/gconf2.12-2.12.6.jar:
/usr/share/java/gconf2.12.jar:/usr/share/java/geronimo-jaf-1.0.2-api-1.0.jar:/usr/share/java/geronimo-jaf-1.0.2-api.jar:
/usr/share/java/geronimo-jms-1.1-api-1.0.jar:/usr/share/java/geronimo-jms-1.1-api.jar:/usr/share/java/glib0.4-0.4.2.jar:
/usr/share/java/glib0.4.jar:/usr/share/java/gnu-classpath-tools-gjdoc-0.7.7.jar:/usr/share/java/gnu-classpath-tools-gjdoc.jar:
/usr/share/java/gtk2.10-2.10.2.jar:/usr/share/java/gtk2.10.jar:/usr/share/java/jaf.jar:/usr/share/java/javamail.jar:
/usr/share/java/jaxp13.jar:/usr/share/java/jaxp.jar:/usr/share/java/jimi.jar:/usr/share/java/jms.jar:/usr/share/java/libgcj-4.1.2.jar:
/usr/share/java/postgresql-8.2-504.jdbc4.jar:/usr/share/java/sax2.jar:/usr/share/java/sax.jar:/usr/share/java/xml-commons-apis.jar:
/usr/share/java/xml-commons-jaxp-1.3-apis-1.3.03.jar:/usr/share/java/xml-commons-jaxp-1.3-apis.jar:
/usr/share/java/xml-commons-resolver11-1.3.03.jar:/usr/share/java/xml-commons-resolver11.jar:/usr/share/java/xml-commons-resolver.jar:
/usr/share/java/xslt.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-1.7.0.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-antlr.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-apache-bcel.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-apache-bsf.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-apache-log4j.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-apache-oro.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-apache-regexp.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-apache-resolver.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-commons-logging.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-commons-net.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-jai.jar:/usr/share/java/apache-ant-1.7.0/lib/ant.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-javamail.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-jdepend.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-jmf.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-jsch.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-junit.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-launcher.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-netrexx.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-nodeps.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-starteam.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-stylebook.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-swing.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-testutil.jar:/usr/share/java/apache-ant-1.7.0/lib/ant-trax.jar:
/usr/share/java/apache-ant-1.7.0/lib/ant-weblogic.jar:/usr/share/java/apache-ant-1.7.0/lib/xercesImpl.jar:
/usr/share/java/apache-ant-1.7.0/lib/xml-apis.jar:/usr/share/java/xalan-j_2_7_0/serializer.jar:/usr/share/java/xalan-j_2_7_0/xalan.jar:
/usr/share/java/xalan-j_2_7_0/xercesImpl.jar:/usr/share/java/xalan-j_2_7_0/xml-apis.jar:/usr/share/java/xalan-j_2_7_0/xsltc.jar:
/usr/share/java/xerces-2_9_1/resolver.jar:/usr/share/java/xerces-2_9_1/serializer.jar:/usr/share/java/xerces-2_9_1/xercesImpl.jar:
/usr/share/java/xerces-2_9_1/xercesSamples.jar:/usr/share/java/xerces-2_9_1/xml-apis.jar

What is the problem?

Can someone help me?

Mikhail.

Mime
View raw message