delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/25/15:02:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FEB4237.BA1E9533@dessent.net>
Date: Thu, 25 Dec 2003 12:01:59 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem using export command
References: <3696 DOT 68 DOT 55 DOT 203 DOT 3 DOT 1072381783 DOT squirrel AT webmail DOT umbc DOT edu>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
X-IsSubscribed: yes

Anjali Bharat Shah wrote:

> export LD_LIBRARY_PATH=$REI_HOME/lib
> export CLASSPATH=$CLASSPATH:$CP:$REI_HOME/classes:.
> 
> rm $REI_HOME/classes/*.class
> $JAVA_HOME/javac -d classes $REI_HOME/src/*.java
> $JAVA_HOME/java ReiEngine $REI_HOME/config.xml
> 
>   This file runs without problems in Linux, but under cygwin it gives the
> following error:
> export: Files\Xinox: bad variable name
> 
>   A similar problem was faced by someone who posted a message to the mailing
> list. But I found no answer to that and so am posting my message again. If
> someone could please help me figure why this error occurs and suggest some
> solution, I will be very glad.

Your CLASSPATH contains a directory with a space in it, probably
\Program Files.  You'll need to quote it so that the shell sees it all
as one word.

Also, I don't think LD_LIBRARY_PATH has any effect under Cygwin. 
There's no such feature.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019