foxidrive: Yeah, I know, same name, different extensions? Probably written by someone more experienced with Linux/Unix programming than Microsoft. Also note that the command cited in the error message---D:\dev\android\sdk\tools\lib\\find_java.exe---fails only when run from within the SDK files. If I enter that on a command line, it returns a string containing a path to the java.exe, as it is supposed to do:
D:\dev\android\sdk>d:\dev\android\sdk\tools\lib\\find_java.exe
C:\ProgramData\Oracle\Java\javapath\java.exe
But if I change the command line to run the .bat file instead of the .exe, the .bat file runs but fails on the call to run the .exe...
D:\dev\android\sdk>d:\dev\android\sdk\tools\lib\\find_java.bat
'start "d:\dev\android\sdk\tools\lib\\find_java.exe" -s' is not recognized as an internal or external command,
operable program or batch file.
Lemonilla:
> Try running a call "%~pds0\find_java.exe"
Did you mean ~dps0? I tried with both call and start, still fails.
foxidrive/Lemonilla: Thing is, all of these files do work in other Windows environments, just not my particular machine.
Since they do run without error on some machines, I am not convinced my problem is a syntax thing in the bat files.
I'm currently thinking some permission setting was set on the original files or directories (Linux/Unix vs Microsoft again) and somehow on my system there is a conflicting security setting. At least, that's my current best guess.
Jerry