should help you out When I try to run my react native app on my device, I get the following message /bin/sh: adb: command not found. The app still runs on my phone but I can't reload it or remote debug it. , please try:
it fixes the issue I suspect the issue is that $PATH is being expanded when you don't want it to be. The export command isn't treated any differently. Export expects the name of an environment variable to export, but you aren't giving it the name of the variable, you are giving it the variable reference itself, which gets expanded. Think about this:
it helps some times Go to environment variable and then advance setting Go to user variable and setVariable JAVA_HOME and there Value C:\Java\sunjdk6.0.24 Then go to Path and set cygwin path c:\cygwin\bin;c:\cygwin\usr\bin DO it if not done erlier, If you still facing problem then see Link for Hadoop installation on windows and follow every steps.
Sed command to strip pattern when found and add it between square  to following lines until new one is found