Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 484BC657B for ; Wed, 3 Aug 2011 01:20:49 +0000 (UTC) Received: (qmail 69316 invoked by uid 500); 3 Aug 2011 01:20:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 69282 invoked by uid 500); 3 Aug 2011 01:20:48 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 69275 invoked by uid 99); 3 Aug 2011 01:20:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 01:20:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bpendleton.derby@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 01:20:39 +0000 Received: by pzk36 with SMTP id 36so618171pzk.34 for ; Tue, 02 Aug 2011 18:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=6Go7QxhVIMgyYxfBvBWhLYWlNHs2nCxz85YLnC+DMbc=; b=Q/gZR/5paQh+MbpzULTuDCUlll6kY+eCieO7FFUBSaptk8XyE6bGab1onQN3dkPSKS srIRHUjFBYRslvl3KHBcyQC6K94yaSI4RcsLDL2/IuDjxoRSTiQPGpnAGNF2ykw9KYpg uoSUNENDIbL4Y/pji2bTIt4HZm9XfcUTrU8N0= Received: by 10.68.28.35 with SMTP id y3mr64996pbg.389.1312334052522; Tue, 02 Aug 2011 18:14:12 -0700 (PDT) Received: from [192.168.0.102] (c-67-170-231-73.hsd1.ca.comcast.net [67.170.231.73]) by mx.google.com with ESMTPS id l7sm422864pbh.26.2011.08.02.18.14.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Aug 2011 18:14:11 -0700 (PDT) Message-ID: <4E38A0DD.2010602@gmail.com> Date: Tue, 02 Aug 2011 18:14:05 -0700 From: Bryan Pendleton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Unable to run a java file References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > I am trying to execute a java file(attached), it compiles fine but when I try to run it I get a ClassNotFoundException. That's pretty much always a CLASSPATH issue. From the same window where you get the ClassNotFoundException, try running org.apache.derby.tools.sysinfo, and paste the output into an email reply so we can see it. If sysinfo also gives you a ClassNotFoundException, then: $ echo $CLASSPATH and do 'ls' on each item in the classpath to confirm that each exists. thanks, bryan