delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/30/14:52:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Tue, 30 Aug 2005 14:51:36 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Reid Thompson <Reid DOT Thompson AT ateb DOT com>
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: <F71C0DC6B4FD3648815AAA7F969E35290194EB92@sr002-2kexc.ateb.com>
Message-ID: <Pine.GSO.4.63.0508301448490.4587@slinky.cs.nyu.edu>
References: <F71C0DC6B4FD3648815AAA7F969E35290194EB92 AT sr002-2kexc DOT ateb DOT com>
MIME-Version: 1.0

On Tue, 30 Aug 2005, Reid Thompson wrote:

> Ashish DOT Srivastava AT XXX DOT XX DOT XXX wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  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/

- Raw text -


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