Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 11296 invoked from network); 10 May 2007 22:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 May 2007 22:56:20 -0000 Received: (qmail 19962 invoked by uid 500); 10 May 2007 22:56:25 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 19928 invoked by uid 500); 10 May 2007 22:56:25 -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 19917 invoked by uid 99); 10 May 2007 22:56:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2007 15:56:25 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of raykroeker@gmail.com designates 64.233.184.234 as permitted sender) Received: from [64.233.184.234] (HELO wr-out-0506.google.com) (64.233.184.234) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2007 15:56:18 -0700 Received: by wr-out-0506.google.com with SMTP id 25so750017wry for ; Thu, 10 May 2007 15:55:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=G7LVhN3HNJrQgCaf37fnj/d2cWRTkJ2MCXOj3nT4vFVSsympnlRI3gLSEokLG9ovYmgqmW8kzH54oY2ekAf2Yag9QFMk79AbXumM3LWc9GW9ueT9ZRmvkp6o7GajG+nuTpg4jndlY4QGkqQQAaplScZZXumrpt2bs1hFVuvihas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=g2GgDeE80U0vRYdhXmeS3s2+R/ecmxOOhPNQzfRLxyEuXHXhVfuVHVX9EuZ6Pn2fXLte19ZWBafQ5KQ6hZqub0LYYWxVLNQ8omw1LUABO3WD2tb2BbtPLWp2xVIetvhMpANviBK73uezjB7HyeCmVXlmsqebKEjFlQrH1H7yNDg= Received: by 10.114.127.1 with SMTP id z1mr722195wac.1178837756564; Thu, 10 May 2007 15:55:56 -0700 (PDT) Received: by 10.114.134.11 with HTTP; Thu, 10 May 2007 15:55:56 -0700 (PDT) Message-ID: Date: Thu, 10 May 2007 15:55:56 -0700 From: "Raymond Kroeker" Sender: raykroeker@gmail.com To: "Derby Discussion" Subject: Re: Working with Derby - Activity 2 problem In-Reply-To: <9f40b500705101548p3340ec9ai939122b6d6a91eb9@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_112719_12533563.1178837756515" References: <9f40b500705101548p3340ec9ai939122b6d6a91eb9@mail.gmail.com> X-Google-Sender-Auth: 0833b0c06903b7fb X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_112719_12533563.1178837756515 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Laura, When you set an environment variable using CLI, you want to omit the '%' character. You'll want to try: set derby_home=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs instead of set %derby_home%=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs Raymond On 5/10/07, Laura Stewart wrote: > > Hi - When I try to perform activity 2, I run into problems. I'm > pretty sure that it has to do with how I set my %derby_home% or PATH > environment variables. > > I use Windows and set my environment variables through the Control Panel. > I set the %derby_home% environment variable to: > C:\Derby_10\db-derby-10.2.2.0-bin > Notice this is not the \bin subdirectory > > I added this to my PATH > %DERBY_HOME%/bin; > > Now when I try Activity 2, the first step is to change to the new > derydbs directory that I created, and set my %derby_home env. var. in > a command window So I am assuming that this will override the setting > in the Control Panel for the duraction of the session (the window is > active) and that I need to set it to: > C:\Derby_10\db-derby-10.2.2.0-bin\derbydbs > > but when I run the following command from a command window and try to > "echo %derby_home%" it still says that it is set to > C:\Derby_10\db-derby-10.2.2.0-bin: > set %derby_home%=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs > > Any suggestions on where I have gone wrong will be appreciated :-) > > -- > Laura Stewart > -- --------------------------------------------------------- Raymond Kroeker ------=_Part_112719_12533563.1178837756515 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Laura,

    When you set an environment variable using CLI, you want to omit the '%' character.  You'll want to try:

    set derby_home=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs

    instead of

    set %derby_home%=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs

Raymond

On 5/10/07, Laura Stewart < scotsmatrix@gmail.com> wrote:
Hi - When I try to perform activity 2, I run into problems.  I'm
pretty sure that it has to do with how I set my %derby_home% or PATH
environment variables.

I use Windows and set my environment variables through the Control Panel.
I set the %derby_home% environment variable to:
      C:\Derby_10\db-derby-10.2.2.0-bin
Notice this is not the \bin subdirectory

I added this to my PATH
      %DERBY_HOME%/bin;

Now when I try Activity 2, the first step is to change to the new
derydbs directory that I created, and set my %derby_home env. var. in
a command window  So I am assuming that this will override the setting
in the Control Panel for the duraction of the session (the window is
active) and that I need to set it to:
      C:\Derby_10\db-derby-10.2.2.0-bin\derbydbs

but when I run the following command from a command window and try to
"echo %derby_home%" it still says that it is set to
C:\Derby_10\db-derby-10.2.2.0-bin :
     set %derby_home%=c:\derby_10\db-derby-10.2.2.0-bin\derbydbs

Any suggestions on where I have gone wrong will be appreciated :-)

--
Laura Stewart



--
---------------------------------------------------------
Raymond Kroeker ------=_Part_112719_12533563.1178837756515--