[ 
https://issues.apache.org/jira/browse/HADOOP-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787916#action_12787916
 ] 

Peter Seegers commented on HADOOP-4776:
---------------------------------------

Please ignore my previous comment as it is wrong and I cannot delete it.

> Windows installation fails with "bin/hadoop: line 243: c:\Program: command 
> not found"
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4776
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4776
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.19.0
>         Environment: Windows
>            Reporter: m costello
>            Priority: Minor
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Perhaps a space in the path name is confusing Cygwin.   The JAVA_HOME path is 
> the default  "C:\Program Files\Java\jdk1.6.0_11".
> Changing
>   JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} 
> org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
> to
>   JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} "${JAVA}" 
> org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
> appear to correct the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to