Trying to execute java.exe and getting the lovely error
>> sh.exe": java.exe: command not found
The command works in a normal command shell.
I've checked the path of both and they are the almost the same, bash has a few extra directories as expected. I used env |grep PATH and set PATH respectively to check...
where java.exe
C:\Windows\System32\java.exe
set PATH
Path=C:\Ruby193\bin;C:\Windows\system32;C:\Windows;
env |grep PATH
HOMEPATH=\
PATH=/c/Users/hooksc/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Ruby193/bin:/c/Windows/system32:/c/Windows:
I figure I'm missing something subtle, anyone have any ideas what?
I have snippet the path short to make it a bit easier to read... However, at least 1 of the source folders for java.exe is in the path.