fix under cygwin when using win32 java

- win32 java expects win32 paths, so javacomplete would fail if java is
  compiled for windows
- this fix will convert the unix paths to windows paths when executing
  jre/jdk commands