From derby-user-return-7299-apmail-db-derby-user-archive=db.apache.org@db.apache.org Wed Aug 01 15:26:32 2007 Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 85026 invoked from network); 1 Aug 2007 15:26:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 15:26:28 -0000 Received: (qmail 27175 invoked by uid 500); 1 Aug 2007 15:26:24 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 27147 invoked by uid 500); 1 Aug 2007 15:26:23 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 27120 invoked by uid 99); 1 Aug 2007 15:26:23 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 08:26:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 15:26:11 +0000 Received: from d1-emea-10.sun.com (d1-emea-10.sun.com [192.18.2.120]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l71FPtsw022714 for ; Wed, 1 Aug 2007 15:25:55 GMT Received: from conversion-daemon.d1-emea-10.sun.com by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JM300A01PI3VJ00@d1-emea-10.sun.com> (original mail from Dyre.Tjeldvoll@Sun.COM) for derby-user@db.apache.org; Wed, 01 Aug 2007 16:25:55 +0100 (BST) Received: from khepri29.sun.com ([129.159.112.241]) by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JM300H8HPJ57S00@d1-emea-10.sun.com> for derby-user@db.apache.org; Wed, 01 Aug 2007 16:25:54 +0100 (BST) Date: Wed, 01 Aug 2007 17:25:53 +0200 From: Dyre.Tjeldvoll@Sun.COM Subject: Re: Wanted: Example using SQLXML In-reply-to: <11939228.post@talk.nabble.com> Sender: Dyre.Tjeldvoll@Sun.COM To: Derby Discussion Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <11652372.post@talk.nabble.com> <469CE9D7.1080105@amberpoint.com> <11939228.post@talk.nabble.com> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.1 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org sieg writes: > See below. Incidentally, in a another posting, someone explained to me that > downloading and installing derby was redundant with installing Java 1.6. Not quite. Derby aka JavaDB is _bundled_ with the JDK (not the JRE). And you still need to include the Derby jars in your classpath, it will not happen automatically. Older versions of Java 6 have the derby jars in db/lib: $ \ls /usr/local/java/jdk1.6.0_00/db/lib/ derby.jar derbyLocale_fr.jar derbyLocale_zh_CN.jar derby.war derbyLocale_it.jar derbyLocale_zh_TW.jar derbyclient.jar derbyLocale_ja_JP.jar derbynet.jar derbyLocale_de_DE.jar derbyLocale_ko_KR.jar derbyrun.jar derbyLocale_es.jar derbyLocale_pt_BR.jar derbytools.jar Unfortunately, due to a glitch, the derby jars are missing from Java 6 update 2 :( This will be fixed in the next update, but until then you need to download derby from apache... -- dt