Fixes to internals.py to accomodate windows users

- Edited to fix a regex comment error from lines 58-64
- Added java.exe to binary names for java (to support windows)
- Modified find_file to:
1) split the environment paths, and loop over them, 
2) to check if os.path.join(dir, filename) exists, rather than just checking if the dir is a file