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 F3E8A8AD5 for ; Mon, 8 Aug 2011 13:01:52 +0000 (UTC) Received: (qmail 70698 invoked by uid 500); 8 Aug 2011 13:01:52 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 70641 invoked by uid 500); 8 Aug 2011 13:01:51 -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 70634 invoked by uid 99); 8 Aug 2011 13:01:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 13:01:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [148.87.113.117] (HELO rcsinet15.oracle.com) (148.87.113.117) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 13:01:40 +0000 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p78D1GwQ013482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 8 Aug 2011 13:01:18 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p78D1FpX016434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 8 Aug 2011 13:01:15 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p78D19Jj014463 for ; Mon, 8 Aug 2011 08:01:09 -0500 Received: from richard-hillegas-computer.local (/10.159.13.233) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 08 Aug 2011 06:01:09 -0700 Message-ID: <4E3FDE0A.3040405@oracle.com> Date: Mon, 08 Aug 2011 06:00:58 -0700 From: Rick Hillegas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Derby Discussion Subject: Re: Can't Load Embedded Driver References: <1279101352.331214.1312736091173.JavaMail.root@sz0138a.westchester.pa.mail.comcast.net> In-Reply-To: <1279101352.331214.1312736091173.JavaMail.root@sz0138a.westchester.pa.mail.comcast.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090203.4E3FDE1E.00F1,ss=1,re=0.000,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org On 8/7/11 9:54 AM, Roy.Minet@comcast.net wrote: > > I have been happily using Derby for two years within IntelliJ Idea, > but have now hit a wall trying to deploy the application I developed. > I have tried setting the path to derby.jar on the command line and/or > in the CLASSPATH environment variable to no avail. The embedded > driver doesn't load; the error message is, "No suitable driver found > for jdbc:derby:EMDatabase;create=true". I'm under Windows XP Pro. > Any help would be appreciated. > > Roy Minet > > Hi Roy, This is almost always a CLASSPATH problem. With the same CLASSPATH, try the following experiment: java org.apache.derby.jdbc.EmbeddedDriver If the CLASSPATH is good, you should see this error: Exception in thread "main" java.lang.NoSuchMethodError: main Hope this helps, -Rick