Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CBB1C048 for ; Tue, 17 Jul 2012 10:24:27 +0000 (UTC) Received: (qmail 26138 invoked by uid 500); 17 Jul 2012 10:24:26 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 25470 invoked by uid 500); 17 Jul 2012 10:24:17 -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 25419 invoked by uid 99); 17 Jul 2012 10:24:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 10:24:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_FREEMAIL_1,FSL_FREEMAIL_2,FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paddax@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 10:24:07 +0000 Received: by lbbgo11 with SMTP id go11so528147lbb.31 for ; Tue, 17 Jul 2012 03:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=Q1FITqc40uO9EeOBY0CqKvkTO1AnzSyAOIoV7OQ2ilA=; b=BKtN5MM847HfQAMyH722tlxXWAhLuUs1YUR4jnpOzSQfTI+jn36zd8l7zTClT5EBLZ xcy9WZB5EKRTgZUNSuhd9Cu7xmZdRfvNQAx3V3EbsjcUczWHZl1JUdbJSd6jZ1pUMqLY 3HB779rNUH1ADFwJKXeNue5qWmREX26V24eGtbOp9W6DFhDFC6WiCKj2ysiBZUOY3q6I RAI2sGqDZnAxtng7cKRYb8oWCXB1J1XCNchq78ZEoYVmVKH1qr2hFMcDcD5aWm3Cm9ZP 6UNmcdpH/jTLGShrhQYqLJY5BYyDH33HYZe3mWep5ge2Ku9zofirYG8GCyWP+/yzgqMf 5gbg== MIME-Version: 1.0 Received: by 10.112.46.198 with SMTP id x6mr1034231lbm.19.1342520627281; Tue, 17 Jul 2012 03:23:47 -0700 (PDT) Received: by 10.112.147.104 with HTTP; Tue, 17 Jul 2012 03:23:47 -0700 (PDT) Reply-To: paddax@gmail.com Date: Tue, 17 Jul 2012 11:23:47 +0100 Message-ID: Subject: derby.jar Classpath From: Peter Davis To: derby-user@db.apache.org Content-Type: multipart/alternative; boundary=bcaec554060417bde904c503f1a7 --bcaec554060417bde904c503f1a7 Content-Type: text/plain; charset=ISO-8859-1 Hi I've been using derby db for a while now and have until now been willing to work around a problem with classpath. It appears that I have to explicitly place derby.jar on the class path using one of the standard mechanisms. e.g. -cp or in the manifest of the running jar. Unfortunately my application uses its own class loader and therefore none of the above is true. I'm guessing that derby.jar uses the property "java.class.path" to find the path to its other components. So my question is, Is there a way to load derby.jar without explicitly declaring it on the classpath. Peter --bcaec554060417bde904c503f1a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

I've been using derby db for a while now and have= until now been willing to work around a problem with classpath. =A0It appe= ars that I have to explicitly place derby.jar on the class path using one o= f the standard mechanisms. e.g. -cp =A0or in the manifest of the running ja= r. =A0Unfortunately my application uses its own class loader and therefore = none of the above is true.

I'm guessing that derby.jar uses the property "= ;java.class.path" to find the path to its other components.
=
So my question is,=A0Is there a way to load derby.jar withou= t explicitly declaring it on the classpath.

Peter
--bcaec554060417bde904c503f1a7--