This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]