Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 30 Aug 2005 14:51:36 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Reid Thompson cc: Ashish DOT Srivastava AT med DOT va DOT gov, cygwin AT cygwin DOT com Subject: RE: How to set a variable with a space in the value? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 30 Aug 2005, Reid Thompson wrote: > Ashish DOT Srivastava AT XXX DOT XX DOT XXX wrote: . Thanks. > > Hi, > > I have a JDK installed in c:\Java SDK directory. I am > > trying to export the JAVA_HOME in cygwin but it seems is crancking > > out on the space. > > > > export JAVA_HOME=c:\Java\\ SDK > > export JAVA_HOME=c:\"Java SDK\" and, > > export JAVA_HOME="c:/Java SDK/" > > > > all fails. Please help! > > > > Thnx, > > -Ashish > > try > ln -s C:\\Java\ SDK /java > > export JAVA_HOME=/java Ain't gonna work (and neither will mounts). JAVA_HOME is usually used by non-Cygwin programs, and those don't know about either symlinks or mounts. Junctions (directory reparse points) do work, however. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/