You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2013/10/20 17:37:43 UTC

[jira] [Commented] (HADOOP-10060) Unable to run JDK_1.7.1_40 commands in Cygwin2.829 (32 bit

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

Gopal V commented on HADOOP-10060:
----------------------------------

Maybe you misread the documentation?

You should be running "hadoop jar .../example.jar".

> Unable to run JDK_1.7.1_40 commands in Cygwin2.829 (32 bit
> ----------------------------------------------------------
>
>                 Key: HADOOP-10060
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10060
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: bin
>    Affects Versions: 1.2.1
>         Environment: Background
>  
> I have installed Cygwin to self learn Hadoop 1.2.1 with the above JDK in Cygwin environment on Windows XP- SP2 laptop
>            Reporter: Anand Murali
>            Priority: Blocker
>              Labels: test
>             Fix For: 1.2.1
>
>
> Actions Performed 
>  
> 1. As advised by Hadoop exported JAVA_HOME=/cygwin/jdk1.2.7_40/bin in hadoop-env.sh and tried to run java commands with error 
>  	jar  /cygwin/hadoop-1.2.1/hadoop-examples-1.2.1.jar
>               -bash: jar: command not found
>  2. However when echoed  I get right pointed path
>  	echo $JAVA_HOME
>                /cygwin/jdk1.7.0_40/bin
>  3. Tried including export path in .bash_profile, and .profile, with same error.
>  
> Unable to move forward with out JDK calls. Anticipate the same with Hadoop related commands.



--
This message was sent by Atlassian JIRA
(v6.1#6144)