How to set a variable with a space in the value?

Reid Thompson Reid.Thompson@ateb.com
Tue Aug 30 16:00:00 GMT 2005


Ashish.Srivastava@med.va.gov wrote:
> 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

reid

--
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/



More information about the Cygwin mailing list